Re: [R] Questions regarding to JohnSonFit() in the R package Johnson {SuppDists}

2017-06-30 Thread William Dunlap via R-help
This happens for some inputs, e.g., > JohnsonFit(c(2,3,4,5,6,7,8,30,50,300)) Error in JohnsonFit(c(2, 3, 4, 5, 6, 7, 8, 30, 50, 300)) : Unbounded solution intermediate values out of range The usual recommendation is to contact the maintainer of the package but that isn't possible in this

[R] Questions regarding to JohnSonFit() in the R package Johnson {SuppDists}

2017-06-30 Thread Shiner Yang
Hello, I was trying to fit a Johnson curve by first figuring out the parameter estimates using JohosnFit of a vector by a group ID using the aggregate function. I.E. aggregate(x, by = list(ID), JohnsonFit) where x is the variable I am trying to perform JohnsonFit on. It is a continuous random

Re: [R] Predict

2017-06-30 Thread David Winsemius
> On Jun 30, 2017, at 9:13 AM, Sarah Goslee wrote: > > Once again, you are over-writing your variable. This time, you are overwriting > the entirety of Stand_Height with the timeseries of height. > > Perhaps you should spend some time with one of the good introductory R

Re: [R] Predict

2017-06-30 Thread Sarah Goslee
Once again, you are over-writing your variable. This time, you are overwriting the entirety of Stand_Height with the timeseries of height. Perhaps you should spend some time with one of the good introductory R resources out there, and think a bit more about your procedure. Sarah On Fri, Jun 30,

Re: [R] package to fit mixtures of student-t distributions

2017-06-30 Thread David Winsemius
> On Jun 29, 2017, at 10:02 AM, vare vare via R-help > wrote: > > I don’t see how neither a) or b) applies to this question nor the technical > merit of the remark about mixture models. > > Do you have a suggestion for a more appropriate forum for this issue/question?

[R] Multiple "scale_color_manual" statements in one plot (ggplot2, flexible legend challenge)

2017-06-30 Thread Jun Shen
Dear list, I am facing an unusual situation where I need to create two sets of legends based on the color mapping. Can't get exactly what I want and really appreciate any advice from ggplot experts. Let's say I have the first dataset "df1" that draws some points and based on which a "loess" line

Re: [R] about reading files in order

2017-06-30 Thread Jeff Newmiller
See http://en.wikipedia.org/wiki/Internet_troll -- Sent from my phone. Please excuse my brevity. On June 30, 2017 10:50:45 AM EDT, lily li wrote: >Who is this person and what did he/she mean? > >On Fri, Jun 30, 2017 at 1:48 AM, Kindell Young >wrote: >

Re: [R] Predict

2017-06-30 Thread Bert Gunter
Seems like you need to start by learning R. Lots of good online tutorials exist -- have you spent time with any? And possibly also spend some time with a basic statistics text or a statistical expert to clarify your goals and methodology. Cheers, Bert Bert Gunter "The trouble with having an

Re: [R] Predict

2017-06-30 Thread Ahmed Attia
Sorry for the confusion, here is the edited question. The data= Stand_Height (attached) is recorded from 12/1/2009 to 12/31/2015 (25 observations) and the other dataset (leafbiom) is recorded from 10/7/2009 to 12/29/2016 (daily observations). I want to use the 25 observations of stand height to

Re: [R] about reading files in order

2017-06-30 Thread lily li
Who is this person and what did he/she mean? On Fri, Jun 30, 2017 at 1:48 AM, Kindell Young wrote: > > On Jun 29, Silly FAGGOTS DICKS [R] 4 chicks not 18-40 year old dudes with > no life or reason too still live except wasting our worlds oxygen on > pathetic excuses of

Re: [R] Predict

2017-06-30 Thread Sarah Goslee
There are a bunch of things wrong here, although without a reproducible example I can't really fix most of them. - You're overwriting SH within the loop. - You're running the regression 2641 times, even though the result never changes. - You're never predicting from your linear model using the

[R] Predict

2017-06-30 Thread Ahmed Attia
Hi folks, I have 25 stand height observations over 7 years period and daily leafbiomass data during this period. I want to use the 25 plant height observations as inputs and predict the daily stand height during the 7 years. SH=matrix(data=NA , nrow = 2641, ncol = 1) for (i in 1:2641) { SH<-

Re: [R-es] Ordenar vector

2017-06-30 Thread Freddy Omar López Quintero
2017-06-30 5:14 GMT-04:00 Isidro Hidalgo Arellano : > x[order(x, decreasing = TRUE)] ​También con la función sort: sort(x, decreasing=T) > ¡Salud!​ -- «Pídeles sus títulos a los que te persiguen, pregúntales cuándo nacieron, diles que te demuestren su existencia.» Rafael

Re: [R] package to fit mixtures of student-t distributions

2017-06-30 Thread Ingmar Visser
gamlss.mx can fit these I believe (although no experience with these myself) flexmix may be (relatively easily) adaptable to accomplish this as well hth, Ingmar Ingmar Visser Universitair Hoofddocent ontwikkelingspsychologie | Directeur College Psychologie Afdeling Psychologie | Faculteit

[R] R 3.4.1 is released

2017-06-30 Thread Peter Dalgaard
The build system rolled up R-3.4.1.tar.gz (codename "Single Candle") this morning. The list below details the changes in this release. You can get the source code from http://cran.r-project.org/src/base/R-3/R-3.4.1.tar.gz or wait for it to be mirrored at a CRAN site nearer to you. Binaries

[R-es] Ordenar vector

2017-06-30 Thread Manuel Máquez
Estimados Colegas, tengo una pregunta, supongamos el vector x que tiene los siguientes elementos: x<-c(15,20,11,25,0,22,22,16,13,18,16,15,18) # y luego pongo y <- order(x) y # entonces obtengo: [1] 5 3 9 1 12 8 11 10 13 2 6 7 4 que indican la posición en el vector,

[R] Unit of cellsize in 'ascgen' from adehabitatMR? Spatialpoints unit?

2017-06-30 Thread Dagmar
Hello dear all, A simple understanding question but I cannot find the answer anywhere. I use coordiates (longitude, latitude) in my study. I created a SpatialPoints class from those data and then I created a grid using the 'ascgen' command in the package 'adehabitatMR' like: