Re: [R] Trouble when I call a function within another

2008-08-05 Thread bbouling
;Test" to determine the formula, nls returns an error; there are no initial values for x and y whereas without the function "Test" and directly a formula; no error occurred in nls with the same DATA. Duncan Murdoch-2 wrote: > > bbouling wrote: >> Greetings, >>

[R] Trouble when I call a function within another

2008-08-04 Thread bbouling
Greetings, I recently discovered R and how to tackle my own functions. I'm blocked on a simple barrier I guess. I call a function that recognizes a string and return the adequate formula in a main function. This is done through a script. When I type the formula in the main function, it works fin

Re: [R] Significance of confidence intervals in the Non-Linear Least Squares Program.

2008-07-31 Thread bbouling
Dear Pf. Ripley, I use the nls() function coupled with the confint() to obtain the confidence interval of assessed parameters of fitting model. I don't understand why the confidence intervals estimated with such a method aren't consistent? Regards B. Boulinguiez Ph.D. in Chemistry Ecole Nation