Re: [R] nls does not accept start values

2009-03-02 Thread Uwe Ligges
Petr PIKAL wrote: Hi to all OK as I did not get any response and I really need some insight I try again with different subject line I have troubles with correct evaluating/structure of nls input Here is an example # data x -1:10 y -1/(.5-x)+rnorm(10)/100 # formula list form -

Re: [R] nls does not accept start values

2009-03-02 Thread Prof Brian Ripley
It is not very clear what you are trying to do here, and form - structure(list(a = list(quote(y ~ 1/(a - x)), list(a=mean(y, .Names = a) is using a historic anomaly (see the help page). I am gussing you want to give nls an object containing a formula and an expression for the starting

Re: [R] nls does not accept start values

2009-03-02 Thread Petr PIKAL
Thank you It was simplified version of my problem. I want to elaborate a function which can take predefined list of formulas, some data and evaluate which formulas can fit the data. I was inspired by some article in Chemical engineering in which some guy used excel solver for such task. I was

Re: [R] nls does not accept start values

2009-03-02 Thread Uwe Ligges
Petr PIKAL wrote: Thank you It was simplified version of my problem. I want to elaborate a function which can take predefined list of formulas, some data and evaluate which formulas can fit the data. I was inspired by some article in Chemical engineering in which some guy used excel solver

Re: [R] nls does not accept start values

2009-03-02 Thread Petr PIKAL
Hi Prof Brian Ripley rip...@stats.ox.ac.uk napsal dne 02.03.2009 10:24:52: It is not very clear what you are trying to do here, and form - structure(list(a = list(quote(y ~ 1/(a - x)), list(a=mean(y, .Names = a) is using a historic anomaly (see the help page). I am gussing you

[R] nls does not accept start values

2009-03-01 Thread Petr PIKAL
Hi to all OK as I did not get any response and I really need some insight I try again with different subject line I have troubles with correct evaluating/structure of nls input Here is an example # data x -1:10 y -1/(.5-x)+rnorm(10)/100 # formula list form - structure(list(a = list(quote(y ~