Re: [R] Non-linear Regression best-fit line

2011-06-18 Thread peter dalgaard
On Jun 17, 2011, at 23:14 , Sean Bignami wrote: > I am trying to fit a curve to a cumulative mortality curve (logistic) where y > is the cumulative proportion of mortalities, and t is the time in hours (see > below). Asym. at 0 and 1 >> y > [1] 0. 0.04853859 0.08303777 0.15201970 0.4099

Re: [R] Non-linear Regression best-fit line

2011-06-17 Thread Dennis Murphy
Hi: Perhaps the self-starting functions may be helpful. See ?selfStart. There are self-starting functions for both the logistic and Gompertz models (SSlogis and SSgompertz, respectively). Go through the examples to see how they work. HTH, Dennis On Fri, Jun 17, 2011 at 2:14 PM, Sean Bignami wro

[R] Non-linear Regression best-fit line

2011-06-17 Thread Sean Bignami
I am trying to fit a curve to a cumulative mortality curve (logistic) where y is the cumulative proportion of mortalities, and t is the time in hours (see below). Asym. at 0 and 1 > y [1] 0. 0.04853859 0.08303777 0.15201970 0.40995074 0.46444992 0.62862069 0.95885057 1. [10] 1.0