mean_mfd: Mean Function for Multivariate Functional Data
Description
Computes the mean function for a multivariate functional data object of class mfd.
Usage
mean_mfd(mfdobj)
Value
An mfd object representing the mean function of the input data. The output contains
one observation, representing the mean function for each dimension of the multivariate functional variable.
Arguments
mfdobj
An object of class mfd representing the multivariate functional data.
It contains \(N\) observations of a \(p\)-dimensional multivariate functional variable.
Details
This function calculates the mean function for each dimension of the multivariate functional data
by averaging the coefficients across all observations. The resulting object is a single observation
containing the mean function for each dimension.