Re: [R] Substitute "Object not found" with NA

2009-12-04 Thread Duncan Murdoch
Veronesi, Fabio wrote: Hi everybody, I'm trying to create a script that picks a txt file with 2 columns of coordinates (depth and variable1) and automatically tries to fit several polynomial with the function nls(). After that, it creates a list of observed, predict, residuals and other, and

[R] Substitute "Object not found" with NA

2009-12-04 Thread Veronesi, Fabio
Hi everybody, I'm trying to create a script that picks a txt file with 2 columns of coordinates (depth and variable1) and automatically tries to fit several polynomial with the function nls(). After that, it creates a list of observed, predict, residuals and other, and then it calculates AIC, R