Re: [R] add constraints to nls or use another function

2012-07-09 Thread PtitBleu
bbolker wrote > > PtitBleu yahoo.fr> writes: > >> >> Hello, >> >> I'm trying to fit experimental data with a model and nls. >> For some experiments, I have data with x from 0 to 1.2 and the fit is >> quite >> good. >> But it can happen that I have data only the [0,0.8] range (see the >> exam

Re: [R] add constraints to nls or use another function

2012-06-28 Thread Ben Bolker
PtitBleu yahoo.fr> writes: > > Hello, > > I'm trying to fit experimental data with a model and nls. > For some experiments, I have data with x from 0 to 1.2 and the fit is quite > good. > But it can happen that I have data only the [0,0.8] range (see the example > below) and, then, the fit is

[R] add constraints to nls or use another function

2012-06-28 Thread PtitBleu
Hello, I'm trying to fit experimental data with a model and nls. For some experiments, I have data with x from 0 to 1.2 and the fit is quite good. But it can happen that I have data only the [0,0.8] range (see the example below) and, then, the fit is not correct. I would like to add a constraint