[R] Partial Derivatives in R
spencerg
spencer.graves at prodsyse.com
Sun May 10 23:07:54 CEST 2009
Have you considered genD{numDeriv}?
If this does not answer your question, I suggest you try the
"RSiteSearch" package. The following will open a list of options in a
web browser, sorted by package most often found with your search term:
library(RSiteSearch)
pd <- RSiteSearch.function('partial derivative')
pds <- RSiteSearch.function('partial derivatives')
attr(pd, 'hits') # 58
attr(pds, 'hits')# 52
summary(pd)
HTML(pd)
HTML(pds)
The development version available via
'install.packages("RSiteSearch", repos="http://R-Forge.R-project.org")'
also supports the following:
pd. <- unionRSiteSearch(pd, pds)
attr(pd., 'hits')# 94
HTML(pd.)
Hope this helps.
Spencer Graves
Paul Heinrich Dietrich wrote:
> Quick question:
>
> Which function do you use to calculate partial derivatives from a model
> equation?
>
> I've looked at deriv(), but think it gives derivatives, not partial
> derivatives. Of course my equation isn't this simple, but as an example,
> I'm looking for something that let's you control whether it's a partial or
> not, such as:
>
> somefunction(y~a+bx, with respect to x, partial=TRUE)
>
> Is there anything like this in R?
>
More information about the R-help
mailing list