View source: R/main_functions.R
fourier_basis | R Documentation |
fourier_basis
computes Fourier Bases expansions for the covariates in z up to a given order.
fourier_basis(z, order)
z |
n x p Matrix, each column corresponds to one covariate. |
order |
The order until which the Fourier expansion shall be computed. |
n x (2 x p x order) Matrix, each column contains an expression of the form sin(2pirz,i) or cos(2pirz,i) for r=1,...,order and j=1,...,p. The column names are of the form "FB j sin r" or "FB j cos r".
Alexander Kreiss, Leipzig University, Germany. alexander.kreiss@math.uni-leipzig.de
Christoph Rothe, University of Mannheim, Germany
HighDim_rd
, interaction_terms
,
cross_interactions
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.