Get Multivariate Functional Data from a three-dimensional array
Get Multivariate Functional Data from a three-dimensional array
get_mfd_array( data_array, grid = NULL, n_basis = 30, lambda = NULL, lambda_grid = 10^seq(-10, 1, length.out = 10), ncores = 1 )
data_array |
A three-dimensional array. The first dimension corresponds to argument values, the second to replications, and the third to variables within replications. |
grid |
See |
n_basis |
See |
lambda |
See |
lambda_grid |
See |
ncores |
See |
An object of class mfd.
See also ?mfd for additional details on the
multivariate functional data class.
library(funcharts)
data("CanadianWeather")
mfdobj <- get_mfd_array(CanadianWeather$dailyAv[, 1:10, ],
lambda = 1e-5)
plot_mfd(mfdobj)Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.