[R] a question
Douglas Bates
bates at stat.wisc.edu
Fri May 3 19:38:57 CEST 2002
dantec at netcourrier.com writes:
> I have a program written in R which is good on the version 1.2, but for
> the fallowing versions of R, an error always is at the same place.
> That is at the level of the fallowing line:
> Sur<-
> getInitial(res2[m:M,2]~SSasymp(res2[m:M,1],Asymp,resp0,lrc),data=res2)
> Error in eval(expr,envir,enclos):numeric envir arg not of length one
> I don't know at all this langage for the instant.
It is uncommon to use getInitial outside of nls. Is there a reason
you are not using
nls(res2[m:M,2]~SSasymp(res2[m:M,1],Asymp,resp0,lrc),data=res2)
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list