tensor_product_mfd | R Documentation |
This function returns the tensor product of two Multivariate Functional Data objects. Each object must contain only one replication.
tensor_product_mfd(mfdobj1, mfdobj2 = NULL)
mfdobj1 |
A multivariate functional data object, of class |
mfdobj2 |
A multivariate functional data object, of class |
An object of class bifd
.
If we denote with x(s)=(x_1(s),...,x_p(s))
the vector of p functions represented by mfdobj1
and
with y(t)=(y_1(t),...,y_q(t)) the vector of q functions
represented by mfdobj2
,
the output is the
vector of pq bivariate functions
f(s,t)=(x_1(s)y_1(t),...,x_1(s)y_q(t), ...,x_p(s)y_1(t),...,x_p(s)y_q(t)).
library(funcharts)
mfdobj1 <- data_sim_mfd(nobs = 1, nvar = 3)
mfdobj2 <- data_sim_mfd(nobs = 1, nvar = 2)
tensor_product_mfd(mfdobj1)
tensor_product_mfd(mfdobj1, mfdobj2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.