powerbasis {fda} | R Documentation |

## Power Basis Function Values

### Description

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

### Usage

powerbasis(x, exponents, nderiv=0)

### Arguments

`x ` |
A vector of argument values at which the power basis functions are to evaluated. Since exponents may be negative, for example after differentiation, it is required that all argument values be positive. |

`exponents ` |
A vector of exponents defining the power basis functions. If y is such a rate value, the corresponding basis function is xy. The number of basis functions is equal to the number of exponents. |

`nderiv ` |
The derivative to be evaluated. The derivative must not exceed the order. The default derivative is 0, meaning that the basis functions themselves are evaluated. |

### Details

### Value

A matrix of function values. The number of rows equals the number of arguments, and the number of columns equals the number of basis

### Note

### Author(s)

### References

### See Also

### Examples

[Package

*fda* version 1.0

Index]