numericalDerivative {sharpPen} | R Documentation |
Cubic spline interpolation of columns of a matrix for purpose of computing numerical derivatives at a corresponding sequence of gridpoints.
numericalDerivative(x, g, k, delta=.001)
x |
numeric vector |
g |
numeric-valued function of x |
k |
number of derivatives to be computed |
delta |
denominator of Newton quotient approximation |
numeric vector of kth derivative of g(x)
W.J. Braun