jwiley.psych at gmail.com
Sat Mar 31 23:10:05 CEST 2012
Have you looked at:
in the numDeriv package? It works very similarly and there are examples.
Hope this helps,
On Sat, Mar 31, 2012 at 12:58 PM, mariam behboudi
<mariam.behboudi at gmail.com> wrote:
> In matlab we have " gradient(F,h) " where h is a scalar uses h as the
> spacing between points in each direction. Now I need to use this function
> in R. and I dont know how can I should define my function that I haave "h"
> in R?
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
Ph.D. Student, Health Psychology
Programmer Analyst II, Statistical Consulting Group
University of California, Los Angeles
More information about the R-help