Learn R Programming

funcharts (version 1.8.0)

Functional Control Charts

Description

Provides functional control charts for statistical process monitoring of functional data, using the methods of Capezza et al. (2020) , Centofanti et al. (2021) , Capezza et al. (2024) , Capezza et al. (2024) , Centofanti et al. (2025) , Capezza et al. (2025) . The package is thoroughly illustrated in the paper of Capezza et al (2023) .

Copy Link

Version

Install

install.packages('funcharts')

Monthly Downloads

653

Version

1.8.0

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Christian Capezza

Last Published

December 12th, 2025

Functions in funcharts (1.8.0)

AMFCC_PhaseI

Phase I of the Adaptive Multivariate Functional Control Chart (AMFCC).
AMFCC_PhaseII

Phase II of the Adaptive Multivariate Functional Control Chart (AMFCC).
control_charts_sof_pc_real_time

Real-time scalar-on-function regression control charts
control_charts_sof_pc

Control charts for monitoring a scalar quality characteristic adjusted for by the effect of multivariate functional covariates
RoMFDI

Robust Multivariate Functional Data Imputation (RoMFDI)
RoMFCC_PhaseII

Robust Multivariate Functional Control Charts - Phase II
control_charts_pca_mfd_real_time

Real-time T2 and SPE control charts for multivariate functional data
cont_plot

Produce contribution plots
abline_mfd

Add reference lines to all panels of the current multi-panel plot
cbind_mfd

Bind variables of two Multivariate Functional Data Objects
air

Air quality data
control_charts_pca

T2 and SPE control charts for multivariate functional data
functional_filter

Finds functional componentwise outliers
estimate_mixture

Performs the estimation of gaussian mixtures of regression models and gaussian mixture models. Used in FMRCC_PhaseI.
get_mfd_array_real_time

Get a list of functional data objects each evolving up to an intermediate domain point.
fof_pc

Function-on-function linear regression based on principal components
cor_mfd

Correlation Function for Multivariate Functional Data
get_mfd_array

Get Multivariate Functional Data from a three-dimensional array
fof_pc_real_time

Get a list of function-on-function linear regression models estimated on functional data each evolving up to an intermediate domain point.
cov_mfd

Covariance Function for Multivariate Functional Data
funcharts-package

funcharts: Functional Control Charts
data_sim_mfd

Simulate multivariate functional data
get_ooc

Get out of control observations from control charts
get_mfd_df

Get Multivariate Functional Data from a data frame
get_mfd_df_real_time

Get a list of functional data objects each evolving up to an intermediate domain point.
get_mfd_list_real_time

Get a list of functional data objects each evolving up to an intermediate domain point.
get_mfd_list

Get Multivariate Functional Data from a list of matrices
get_mfd_fd

Convert a fd object into a Multivariate Functional Data object.
inprod_mfd_diag

Inner product of two multivariate functional data objects, for each observation
inprod_mfd

Inner products of functional data contained in mfd objects.
get_sof_pc_outliers

Get possible outliers of a training data set of a scalar-on-function regression model.
get_outliers_mfd

Get outliers from multivariate functional data
minus_mfd

Subtract multivariate functional data (and unary negation)
nobs.mfd

Number of observations in a multivariate functional data object
mFPCA

Mixed Functional Principal Component Analysis (mFPCA)
mfd

Define a Multivariate Functional Data Object
is.mfd

Confirm Object has Class mfd
nbasis

Number of basis functions
mean.mfd

Mean Function for Multivariate Functional Data
mixregfit_multivariate

Performs the estimation of gaussian mixtures of regression models and gaussian mixture models. Used in FMRCC_PhaseI.
lines.mfd

Add curves to an existing multivariate functional data plot
lines_mfd

Add the plot of a new multivariate functional data object to an existing plot.
par.rtr

Setting real-time registration step defaults
plot.FRTM_PhaseI

Plot the results of the Phase I and the Phase II of the FRTM
pca_mfd

Multivariate functional principal components analysis
plot.mFPCA

Plot the results of the Mixed Functional Principal Component Analysis (mFPCA)
norm.mfd

Norm of Multivariate Functional Data
nvar

Number of variables
plot.AMFCC_PhaseI

Plot the results of the Phase I and the Phase II of the AMFCC
predict.pca_mfd

Predict from a multivariate functional PCA
plus_mfd

Add multivariate functional data
plot_mon

Plot multivariate functional object over the training data set
plot_pca_mfd

Plot the harmonics of a pca_mfd object
pca_mfd_real_time

Get a list of multivariate functional principal component analysis models estimated on functional data each evolving up to an intermediate domain point.
plot_mfd

Plot a Multivariate Functional Data Object.
plot_control_charts_real_time

Plot real-time control charts
plot_bootstrap_sof_pc

Plot bootstrapped estimates of the scalar-on-function regression coefficient
plot_control_charts

Plot control charts
scale_mfd

Standardize Multivariate Functional Data.
plot_bifd

Plot a Bivariate Functional Data Object.
rbind_mfd

Bind replications of two Multivariate Functional Data Objects
par.mFPCA

Setting mixed functional principal component analysis (mFPCA) defaults
par.FDTW

Setting open-end/open-begin functional dynamic time warping (OEB-FDTW) defaults
plot.mfd

Plot multivariate functional data
rpca_mfd

Robust multivariate functional principal components analysis
regr_cc_sof_real_time

Real-time Scalar-on-Function Regression Control Chart
regr_cc_fof

Functional Regression Control Chart
sim_funcharts

Simulate example data for funcharts
regr_cc_sof

Scalar-on-Function Regression Control Chart
predict_fof_pc

Use a function-on-function linear regression model for prediction
regr_cc_fof_real_time

Real-time functional regression control chart
predict_sof_pc

Use a scalar-on-function linear regression model for prediction
simulate_data_fmrcc

Simulate Data for Functional Mixture Regression Control Chart (FMRCC)
which_ooc

Get the index of the out of control observations from control charts
simulate_data_FRTM

Simulate data for real-time monitoring of univariate functional data
sof_pc_real_time

Get a list of scalar-on-function linear regression models estimated on functional data each evolving up to an intermediate domain point.
[.mfd

Extract observations and/or variables from mfd objects.
simulate_mfd

Simulate a data set for funcharts
tensor_product_mfd

Tensor product of two Multivariate Functional Data objects
sof_pc

Scalar-on-function linear regression based on principal components
times_mfd

Pointwise product of multivariate functional data (and scalar multiplication)
simulate_data_RoMFCC

Simulate multivariate functional data with casewise and componentwise contamination
FRTM_PhaseI

Phase I of the FRTM method.
AMFEWMA_PhaseII

Adaptive Multivariate Functional EWMA control chart - Phase II
FMRCC_PhaseII

Phase II of the FMRCC
FRTM_PhaseII

Phase II of the FRTM method.
AMFEWMA_PhaseI

Adaptive Multivariate Functional EWMA control chart - Phase I
OEBFDTW

Open-end/open-begin Functional Dynamic Time Warping (OEB-FDTW)
RoMFCC_PhaseI

Robust Multivariate Functional Control Charts - Phase I
FMRCC_PhaseI

Phase I of the FMRCC