Convert a fd object into a Multivariate Functional Data object.

get_mfd_fd(fdobj)

Arguments

fdobj

An object of class fd.

Value

An object of class mfd. See also ?mfd for additional details on the multivariate functional data class.

See also

mfd

Examples

library(funcharts)
library(fda)
bs <- create.bspline.basis(nbasis = 10)
fdobj <- fd(coef = 1:10, basisobj = bs)
mfdobj <- get_mfd_fd(fdobj)