Re: [R] Automatization of non-linear regression

2009-10-22 Thread Douglas Bates
Alternatively you could install the NRAIA package and collapse the construction of the plot to a call to plotfit as shown in the enclosed. Note that this is a poor fit of a logistic growth model. There are no data values beyond the inflection point so the Asym parameter (the asymptote) is poorly

Re: [R] Automatization of non-linear regression

2009-10-22 Thread Peter Ehlers
Joel, The following should answer most of your questions: time <- c(seq(0,10),seq(0,10),seq(0,10)) plant <- c(rep(1,11),rep(2,11),rep(3,11)) severity <- c( 42,51,59,64,76,93,106,125,149,171,199, 40,49,58,72,84,103,122,138,162,187,209, 41,49,57,71,89,112,146,174,218,

[R] Automatization of non-linear regression

2009-10-22 Thread Joel Fürstenberg-Hägg
Hi everybody, I'm using the method described here to make a linear regression: http://www.apsnet.org/education/advancedplantpath/topics/Rmodules/Doc1/05_Nonlinear_regression.html > ## Input the data that include the variables time, plant ID, and severity > time <- c(seq(0,10),seq(0,10)