Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

get_mfd_array

Get Multivariate Functional Data from a three-dimensional array


Description

Get Multivariate Functional Data from a three-dimensional array

Usage

get_mfd_array(
  data_array,
  grid = NULL,
  n_basis = 30,
  lambda = NULL,
  lambda_grid = 10^seq(-10, 1, length.out = 10),
  ncores = 1
)

Arguments

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 get_mfd_list.

n_basis

See get_mfd_list.

lambda

See get_mfd_list.

lambda_grid

See get_mfd_list.

ncores

See get_mfd_list.

Value

An object of class mfd. See also ?mfd for additional details on the multivariate functional data class.

See Also

Examples

library(funcharts)
data("CanadianWeather")
mfdobj <- get_mfd_array(CanadianWeather$dailyAv[, 1:10, ],
                        lambda = 1e-5)
plot_mfd(mfdobj)

funcharts

Functional Control Charts

v1.0.0
GPL-3
Authors
Christian Capezza [cre, aut], Fabio Centofanti [aut], Antonio Lepore [aut], Alessandra Menafoglio [aut], Biagio Palumbo [aut], Simone Vantini [aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.