cov_mfd | R Documentation |
Computes the covariance function for two multivariate functional data objects of class mfd
.
cov_mfd(mfdobj1, mfdobj2 = mfdobj1)
mfdobj1 |
An object of class |
mfdobj2 |
An object of class |
The function calculates the covariance between all pairs of dimensions from the two multivariate functional data objects. Each covariance is represented as a functional surface in the resulting bifd object. The covariance function is useful for analyzing relationships between functional variables.
A bifd object representing the covariance function of the two input objects. The output
is a collection of p^2
functional surfaces, each corresponding to the covariance between
two components of the multivariate functional data.
## Not run:
library(funcharts)
data("air")
x <- get_mfd_list(air[1:3])
cov_result <- cov_mfd(x)
plot_bifd(cov_result)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.