basis {regspec} | R Documentation |
Basis maker.
Description
A function for making matrices of sinusoidal basis function values.
Usage
basis(x, nb)
Arguments
x |
The frequencies at which to evaluate the basis functions. |
nb |
The number of basis functions to include. |
Value
A matrix whose rows correspond to input values and whose columns correspond to particular basis functions.
Author(s)
Ben Powell
Examples
bas.mat<-basis(seq(0,0.5,length=16),22)
[Package regspec version 2.7 Index]