polyg {fda} | R Documentation |
Evaluates a set of polygonal basis functions, or a derivative of these functions, at a set of arguments.
polyg(x, argvals, nderiv=0)
x |
A vector of argument values at which the polygonal basis functions are to evaluated. |
argvals |
A strictly increasing set of argument values containing the range of x within it that defines the polygonal basis. The default is x itself. |
nderiv |
The derivative to be evaluated. The derivative must not exceed one. The default derivative is 0, meaning that the basis functions themselves are evaluated. |
A matrix of function values. The number of rows equals the number of arguments, and the number of columns equals the number of basis