[R] nls() error

Jeff Breiwick jeff.breiwick at noaa.gov
Mon Apr 2 20:48:31 CEST 2012


Hello,

I am running a simple nls model (which a friend ran OK) but I get the 
following error:

Error in nls(y ~ R * (1 - (x/K)^2), data = nls.dat, start = list(R = 0.3,  : 
  object 'R_nls_iter' not found

Does anyone know what the 'R_nls_iter' error is? 

The data are:
x=1:8 ; y=c(14,19,25,34,43,56,69,76) 
# starting values: 
R=.3, K=94

Thanks in advance.
Jeff



More information about the R-help mailing list