basis | R Documentation |
A function for making matrices of sinusoidal basis function values.
basis(x, nb)
x |
The frequencies at which to evaluate the basis functions. |
nb |
The number of basis functions to include. |
A matrix whose rows correspond to input values and whose columns correspond to particular basis functions.
Ben Powell
bas.mat<-basis(seq(0,0.5,length=16),22)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.