Real-time unsupervised multivariate functional control charts
This function produces a list of data frames,
each of them is produced by control_charts_pca
and is needed to plot control charts for monitoring
multivariate functional covariates
each evolving up to an intermediate domain point.
control_charts_pca_mfd_real_time( pca_list, components, mfdobj_x_test, mfdobj_x_tuning = NULL, alpha = list(T2 = 0.0125, spe = 0.0125), limits = "standard", seed = 0, nfold = NULL, ncores = 1 )
pca_list |
A list of lists produced by |
components |
See |
mfdobj_x_test |
A list created using
|
mfdobj_x_tuning |
A list created using
|
alpha |
See |
limits |
See |
seed |
See |
nfold |
See |
ncores |
If you want parallelization, give the number of cores/threads to be used when creating objects separately for different instants. |
A list of data.frames each
produced by control_charts_pca,
corresponding to a given instant.
library(funcharts)
data("air")
air1 <- lapply(air, function(x) x[1:8, , drop = FALSE])
air2 <- lapply(air, function(x) x[9:10, , drop = FALSE])
mfdobj_x1_list <- get_mfd_list_real_time(air1[c("CO", "temperature")],
n_basis = 15,
lambda = 1e-2,
k_seq = c(0.5, 1))
mfdobj_x2_list <- get_mfd_list_real_time(air2[c("CO", "temperature")],
n_basis = 15,
lambda = 1e-2,
k_seq = c(0.5, 1))
pca_list <- pca_mfd_real_time(mfdobj_x1_list)
cclist <- control_charts_pca_mfd_real_time(
pca_list = pca_list,
components = 1:3,
mfdobj_x_test = mfdobj_x2_list)
plot_control_charts_real_time(cclist, 1)Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.