fourier {fda} | R Documentation |

## Fourier Basis Function Values

### Description

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

### Usage

fourier(x, nbasis=n, period=span, nderiv=0)

### Arguments

`x ` |
A vector of argument values at which the Fourier basis functions are to evaluated. |

`nbasis ` |
The number of basis functions in the Fourier basis. The first basis function is the constant function, followed by sets of sine/cosine pairs. Normally the number of basis functions will be an odd. The default number is the number of argument values. |

`period ` |
The width of an interval over which all sine/cosine basis functions repeat themselves. The default is the difference between the largest and smallest argument values. |

`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]