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