Re: [R] Fitting data from a spectrophotometer.

2004-05-12 Thread Peter Dalgaard
Gabor Grothendieck <[EMAIL PROTECTED]> writes: > Perhaps you really prefer something with a continuous first derivative? > In that case, all the continuous cumulative distribution functions have > a sigmoidal shape and might be suitable. You could fit pnorm, plogis or tanh > with suitable scalin

Re: [R] Fitting data from a spectrophotometer.

2004-05-12 Thread Gabor Grothendieck
Perhaps you really prefer something with a continuous first derivative? In that case, all the continuous cumulative distribution functions have a sigmoidal shape and might be suitable. You could fit pnorm, plogis or tanh with suitable scaling and location parameters using nls. An example of fit

Re: [R] Fitting data from a spectrophotometer.

2004-05-11 Thread Sundar Dorai-Raj
TAPO (Thomas Agersten Poulsen) wrote: > Dear R-list, > > It is not uncommon for laboratory equipment (e.g. spectrophotometers) to have a linear response in a certain interval and then go into saturation. I wonder if there is an R-function that models this; for instance by estimating the break

[R] Fitting data from a spectrophotometer.

2004-05-11 Thread TAPO (Thomas Agersten Poulsen)
Dear R-list, It is not uncommon for laboratory equipment (e.g. spectrophotometers) to have a linear response in a certain interval and then go into saturation. I wonder if there is an R-function that models this; for instance by estimating the breakpoint and fitting a line below the bre