Convert a fd
object into a Multivariate Functional Data object.
fd
object into a Multivariate Functional Data object.get_mfd_fd(fdobj)
fdobj
: An object of class fd.An object of class mfd
. See also ?mfd
for additional details on the multivariate functional data class.
library(funcharts) library(fda) bs <- create.bspline.basis(nbasis = 10) fdobj <- fd(coef = 1:10, basisobj = bs) mfdobj <- get_mfd_fd(fdobj)
mfd