Re: [R] NLS bi exponential Fit

2012-08-25 Thread vincent guyader
thanks it seems to be a good idea. a also find the PK package with the biexp function. 2012/8/23 Peter Ehlers ehl...@ucalgary.ca Have you checked help(SSbiexp) ? Peter Ehlers On 2012-08-23 04:54, vincent guyader wrote: Hi everyone, I'm trying to perform a bi exponential Fit with

[R] NLS bi exponential Fit

2012-08-23 Thread vincent guyader
Hi everyone, I'm trying to perform a bi exponential Fit with the package NLS. the plinear algorithm seems to be a good choice see: p-3000 q-1000 a--0.03 b--0.02 t-seq(0:144);t y-p*exp(a*t) + q*exp(b*t)+rnorm(t,sd=0.3*(p* exp(a*t) + q*exp(b*t))) fittA - nls(y~cbind(exp(a*t), exp(b*t)),

Re: [R] NLS bi exponential Fit

2012-08-23 Thread Peter Ehlers
Have you checked help(SSbiexp) ? Peter Ehlers On 2012-08-23 04:54, vincent guyader wrote: Hi everyone, I'm trying to perform a bi exponential Fit with the package NLS. the plinear algorithm seems to be a good choice see: p-3000 q-1000 a--0.03 b--0.02 t-seq(0:144);t y-p*exp(a*t) +