Hello
I am wondering, how do I find if R has a certain
funciton to do a given task. do I just type
help.search("rate").
I am just trying to find a function to calculate the
rate of change for a variable. I could come up with
one if there isn't any allready builtin.
thanks
help.search() would be a good place to start for this kind of question, but it's unlikely to be helpful in this particular case... When I see "rate of change", I think of derivatives. However, it's difficult to say much without more detail on what you are looking for. (What exactly do you mean by rate of change of a variable?) There are many ways to estimate derivatives in R, but which to recommend depends on your particular application. Cheers, Andy> From: Fred J. > > Hello > I am wondering, how do I find if R has a certain > funciton to do a given task. do I just type > help.search("rate"). > I am just trying to find a function to calculate the > rate of change for a variable. I could come up with > one if there isn't any allready builtin. > > thanks > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html > >------------------------------------------------------------------------------ Notice: This e-mail message, together with any attachments,...{{dropped}}
?fdHess
Check out the function fdHess in the library(nlme).
It numerically calculates the gradient and Hessian of a given function.
Regards
Wayne
-----Original Message-----
From: Fred J. [mailto:phddas@yahoo.com]
Sent: 16 March 2004 03:20
To: r help
Subject: [R] rate of change
Hello
I am wondering, how do I find if R has a certain
funciton to do a given task. do I just type
help.search("rate").
I am just trying to find a function to calculate the
rate of change for a variable. I could come up with
one if there isn't any allready builtin.
thanks
______________________________________________
R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide!
http://www.R-project.org/posting-guide.html
KSS Ltd
Seventh Floor St James's Buildings 79 Oxford Street Manchester M1 6SS
England
Company Registration Number 2800886
Tel: +44 (0) 161 228 0040 Fax: +44 (0) 161 236 6305
mailto:kssg@kssg.com http://www.kssg.com
The information in this Internet email is confidential and m...{{dropped}}
Type help(deriv). However, it may be easier to compute the derivative by hand
for a simple expression.
HCD
-----Original Message-----
From: Fred J. [mailto:phddas at yahoo.com]
Sent: Monday, March 15, 2004 10:20 PM
To: r help
Subject: [R] rate of change
Hello
I am wondering, how do I find if R has a certain
funciton to do a given task. do I just type
help.search("rate").
I am just trying to find a function to calculate the
rate of change for a variable. I could come up with
one if there isn't any allready builtin.
thanks
______________________________________________
R-help at stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html