Get Multivariate Functional Data from a three-dimensional array
get_mfd_array(
data_array,
grid = NULL,
n_basis = 30,
n_order = 4,
basisobj = NULL,
Lfdobj = 2,
lambda = NULL,
lambda_grid = 10^seq(-10, 1, length.out = 10),
ncores = 1
)
A three-dimensional array. The first dimension corresponds to argument values, the second to replications, and the third to variables within replications.
See get_mfd_list
.
See get_mfd_list
.
#' See get_mfd_list
.
#' See get_mfd_list
.
#' See get_mfd_list
.
See get_mfd_list
.
See get_mfd_list
.
Deprecated. See get_mfd_list
.
An object of class mfd
.
See also ?mfd
for additional details on the
multivariate functional data class.
library(funcharts)
library(fda)
#> Loading required package: splines
#> Loading required package: fds
#> Loading required package: rainbow
#> Loading required package: MASS
#> Loading required package: pcaPP
#> Loading required package: RCurl
#> Loading required package: deSolve
#>
#> Attaching package: 'fda'
#> The following object is masked from 'package:graphics':
#>
#> matplot
data("CanadianWeather")
mfdobj <- get_mfd_array(CanadianWeather$dailyAv[, 1:10, ],
lambda = 1e-5)
plot_mfd(mfdobj)