mean_mfd | R Documentation |
Computes the mean function for a multivariate functional data object of class mfd
.
mean_mfd(mfdobj)
mfdobj |
An object of class |
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.
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.
## Not run:
library(funcharts)
data(air)
mfdobj <- get_mfd_list(air)
mean_result <- mean_mfd(mfdobj)
plot_mfd(mean_result)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.