View source: R/basis_functions.R
make_fourier_basis | R Documentation |
Generates a fourier basis 'basis function'
make_fourier_basis(endpoints, order)
endpoints |
Left and right endpoints. |
order |
Order of harmonics |
The evaluated function has intercept at its first index , followed first by cosine coefficients and then by sine coefficients, both in increasing order.
make_basis_fct
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.