I have a similar task, and I've figured out that 'nls' is the thing
you
want. There is also 'nlme' but I can't make (the latest version --
3.1-3.tar) it work with my R version (0.99.0).
EX:
library(nls)
... get data
model.fit <- nls(y ~ exp(x))
plot(model.fit)
or something like that.
On Thu, 24 Feb 2000, Strumila, John wrote:
> howdy R friends,
>
> I'm new but I used to play with S+ a long time ago. Can someone please
help
> me with how to approach this?
>
> I have some response time data I want to 'correlate' with other
data. I
> believe queueing is involved so I need to prove somehow (F test?) that
> response ~ exponential(...)
>
> How do I go about this? I cant find exponential in 'nlm' or other
> functions.
>
> thanks,
> John Strumila
> john.strumila at corpmail.telstra.com.au
>
>
>
>
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> 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
>
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>
Dan E. Kelley internet: mailto:Dan.Kelley at Dal.CA
Oceanography Department phone: (902)494-1694
Dalhousie University fax: (902)494-2885
Halifax, NS, CANADA, B3H 4J1 http://www.phys.ocean.dal.ca/~kelley
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._