numericalDerivative {sharpPen}R Documentation

Numerical Derivative of Smooth Function

Description

Cubic spline interpolation of columns of a matrix for purpose of computing numerical derivatives at a corresponding sequence of gridpoints.

Usage

numericalDerivative(x, g, k, delta=.001) 

Arguments

x

numeric vector

g

numeric-valued function of x

k

number of derivatives to be computed

delta

denominator of Newton quotient approximation

Value

numeric vector of kth derivative of g(x)

Author(s)

W.J. Braun


[Package sharpPen version 1.9 Index]