evaluate.basis | R Documentation |
Evaluate orthonormal basis functions on a grid
evaluate.basis( K, m = 51, domain = c(0, 1), grid = seq(domain[1], domain[2], length.out = m), type = c("FOURIER", "COS", "SIN", "LEGENDRE") )
K |
A positive integer specifying the number of eigenfunctions to generate. |
m |
the number of equispaced points on |
domain |
the domain on which basis functions are defined |
grid |
A vector specifying the time points to evaluate the basis functions. If |
type |
A string for the type of orthogonal basis. |
A m
by K
matrix, where rows index basis functions while columns index points in the grid.
basis <- evaluate.basis(3, type='fourier') head(basis)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.