powered by
Define a Fourier basis to simulate functional covariate observations.
build_Fourier_basis(grid, dim, per = 2 * pi)
a numerical vector.
a numerical value. It corresponds to dim(basis)/2.
dim(basis)/2
a numerical value which corresponds to the period of the sine and cosine functions.
a matrix. Each row is an functional observation evaluated on the grid time points.
grid
See the sim_x function.
sim_x
# NOT RUN { # See the function \code{sim_x}. # }
Run the code above in your browser using DataLab