fda (version 6.1.8)

expon: Exponential Basis Function Values

Description

Evaluates a set of exponential basis functions, or a derivative of these functions, at a set of arguments.

Usage

expon(x, ratevec=1, nderiv=0)

Value

a matrix of basis function values with rows corresponding to argument values and columns to basis functions.

Arguments

x

a vector of values at which the basis functions are to be evaluated.

ratevec

a vector of rate or time constants defining the exponential functions. That is, if $a$ is the value of an element of this vector, then the corresponding basis function is $exp(at)$. The number of basis functions is equal to the length of ratevec.

nderiv

a nonnegative integer specifying an order of derivative to be computed. The default is 0, or the basis function value.

Details

There are no restrictions on the rate constants.

References

Ramsay, James O., Hooker, Giles, and Graves, Spencer (2009), Functional data analysis with R and Matlab, Springer, New York.

Ramsay, James O., and Silverman, Bernard W. (2005), Functional Data Analysis, 2nd ed., Springer, New York.

Ramsay, James O., and Silverman, Bernard W. (2002), Applied Functional Data Analysis, Springer, New York.

See Also

exponpen