data_sim_mfd: Simulate multivariate functional data

Description Usage Arguments Value Examples

View source: R/00_mfd.R

Description

Simulate random coefficients and create a multivariate functional data object of class 'mfd'.

Usage

1
data_sim_mfd(nobs = 5, nbasis = 4, nvar = 2, seed = 0)

Arguments

nobs

Number of functional observations to be simulated.

nbasis

Number of basis functions.

nvar

Number of functional covariates.

seed

Set seed for reproducibility.

Value

A simulated object of class 'mfd'.

Examples

1
2

funcharts documentation built on March 15, 2021, 5:07 p.m.