build_Fourier_basis: build_Fourier_basis

View source: R/Simulate_Data.R

build_Fourier_basisR Documentation

build_Fourier_basis

Description

Define a Fourier basis to simulate functional covariate observations.

Usage

build_Fourier_basis(grid, dim, per = 2 * pi)

Arguments

grid

a numerical vector.

dim

a numerical value. It corresponds to dim(basis)/2.

per

a numerical value which corresponds to the period of the sine and cosine functions.

Details

See the sim_x function.

Value

a matrix. Each row is an functional observation evaluated on the grid time points.

Examples

# See the function \code{sim_x}.

bliss documentation built on May 29, 2024, 8:35 a.m.