Simulate random coefficients and create a multivariate functional data object of class mfd. It is mainly for internal use, to check that the package functions work.
data_sim_mfd(nobs =5, nbasis =5, nvar =2, seed)
Arguments
nobs: Number of functional observations to be simulated.
nbasis: Number of basis functions.
nvar: Number of functional covariates.
seed: Deprecated: use set.seed() before calling the function for reproducibility.