Rolf Turner wrote: > On 26/10/2007, at 10:14 AM, m p wrote: > > >> Hello, >> I'd like to check if my data can be well approximated with a function >> (1+x/L) exp(-x/L) >> and calculate the best value for L. Is there some package in R that >> would simplify that task? >> Thanks, >> Mark >> > > Is this a homework question? > > cheers, > > Rolf Turner > > > Hmm, I wouldn't pose a question like that. It could be related to a homework problem, but I don't think it actually is one. And nls() et al. is merged into the stats package these days, so in a sense, you don't even need to know the package. example(nls) should be enough to get rolling.
-- O__ ---- Peter Dalgaard Ă˜ster Farimagsgade 5, Entr.B c/ /'_ --- Dept. of Biostatistics PO Box 2099, 1014 Cph. K (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - ([EMAIL PROTECTED]) FAX: (+45) 35327907 ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.