Package: funcharts 1.8.1

Christian Capezza

funcharts: Functional Control Charts

Provides functional control charts for statistical process monitoring of functional data, using the methods of Capezza et al. (2020) <doi:10.1002/asmb.2507>, Centofanti et al. (2021) <doi:10.1080/00401706.2020.1753581>, Capezza et al. (2024) <doi:10.1080/00224065.2024.2383674>, Capezza et al. (2024) <doi:10.1080/00401706.2024.2327346>, Centofanti et al. (2025) <doi:10.1080/00224065.2024.2430978>, Capezza et al. (2025) <doi:10.48550/arXiv.2410.20138>. The package is thoroughly illustrated in the paper of Capezza et al (2023) <doi:10.1080/00224065.2023.2219012>.

Authors:Christian Capezza [cre, aut], Fabio Centofanti [aut], Davide Forcina [aut], Antonio Lepore [aut], Biagio Palumbo [aut], Alessandra Menafoglio [ctb], Simone Vantini [ctb]

funcharts_1.8.1.tar.gz
funcharts_1.8.1.tar.gz(r-4.7-arm64)funcharts_1.8.1.tar.gz(r-4.7-x86_64)funcharts_1.8.1.tar.gz(r-4.6-arm64)funcharts_1.8.1.tar.gz(r-4.6-x86_64)
funcharts_1.8.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
funcharts/json (API)
NEWS

# Install 'funcharts' in R:
install.packages('funcharts', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/unina-sfere/funcharts/issues

Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3
  • openmp– GCC OpenMP (GOMP) support library
Datasets:
  • air - Air quality data

On CRAN:

Conda:

openblascppopenmp

4.19 score 194 scripts 378 downloads 78 exports 124 dependencies

Last updated from:1bf52bc4f0. Checks:6 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK308
linux-devel-x86_64OK284
source / vignettesOK272
linux-release-arm64OK312
linux-release-x86_64OK278
wasm-releaseOK172

Exports:abline_mfdAMFCC_PhaseIAMFCC_PhaseIIAMFEWMA_PhaseIAMFEWMA_PhaseIIcbind_mfdcont_plotcontrol_charts_pcacontrol_charts_pca_mfd_real_timecontrol_charts_sof_pccontrol_charts_sof_pc_real_timecor_mfdcov_mfddata_sim_mfdestimate_mixtureFMRCC_PhaseIFMRCC_PhaseIIfof_pcfof_pc_real_timeFRTM_PhaseIFRTM_PhaseIIfunctional_filterget_mfd_arrayget_mfd_array_real_timeget_mfd_dfget_mfd_df_real_timeget_mfd_fdget_mfd_listget_mfd_list_real_timeget_oocget_outliers_mfdget_sof_pc_outliersinprod_mfdinprod_mfd_diagis.mfdlines_mfdmfdmFPCAminus_mfdnbasisnorm.mfdnvarOEBFDTWpar.FDTWpar.mFPCApar.rtrpca_mfdpca_mfd_real_timeplot_bifdplot_bootstrap_sof_pcplot_control_chartsplot_control_charts_real_timeplot_mfdplot_monplot_pca_mfdplus_mfdpredict_fof_pcpredict_sof_pcrbind_mfdregr_cc_fofregr_cc_fof_real_timeregr_cc_sofregr_cc_sof_real_timeRoMFCC_PhaseIRoMFCC_PhaseIIRoMFDIrpca_mfdscale_mfdsim_funchartssimulate_data_fmrccsimulate_data_FRTMsimulate_data_RoMFCCsimulate_mfdsof_pcsof_pc_real_timetensor_product_mfdtimes_mfdwhich_ooc

Dependencies:abindashaskpassbackportsbase64encbitopsbslibcachemcheckmatecliclustercodetoolscolorspacecpp11crosstalkcurldata.tableDEoptimRdeSolvedigestdoParalleldplyrevaluatefarverfastmapfdafda.uscfdapacefdsFNNfontawesomeforeachforeignFormulafsgenericsggplot2gluegridExtragtablehdrcdehighrHmischtmlTablehtmltoolshtmlwidgetshttrisobanditeratorsjquerylibjsonlitekernlabKernSmoothknitrkskSampleslabelinglaterlatticelazyevallifecyclelocfitmagrittrMASSMatrixmclustmemoisemgcvmimemulticoolmvtnormnlmennetnumDerivopensslotelpatchworkpcaPPpillarpkgconfigplotlypracmapromisespurrrR6rainbowrappdirsRColorBrewerRcppRcppArmadilloRcppEigenRcppParallelRCurlRfastrlangrmarkdownroahdrobustbaserofanovarpartrrcovRSpectrarstudioapiS7sassscalesscamspatstat.univarspatstat.utilsstringistringrSuppDistssystibbletidyrtidyselecttinytexutf8vctrsviridisLitewithrxfunyamlzigg

capezza2020

Rendered fromcapezza2020.Rmdusingknitr::rmarkdownon Jun 18 2026.

Last update: 2023-02-13
Started: 2021-03-15

centofanti2021

Rendered fromcentofanti2021.Rmdusingknitr::rmarkdownon Jun 18 2026.

Last update: 2023-02-13
Started: 2022-06-15

colosimo2010

Rendered fromcolosimo2010.Rmdusingknitr::rmarkdownon Jun 18 2026.

Last update: 2023-02-13
Started: 2023-02-13

mfd

Rendered frommfd.Rmdusingknitr::rmarkdownon Jun 18 2026.

Last update: 2023-02-13
Started: 2021-03-15

Readme and manuals

Help Manual

Help pageTopics
Extract observations and/or variables from 'mfd' objects.[.mfd
Add reference lines to all panels of the current multi-panel plotabline_mfd
Air quality dataair
Phase I of the Adaptive Multivariate Functional Control Chart (AMFCC).AMFCC_PhaseI
Phase II of the Adaptive Multivariate Functional Control Chart (AMFCC).AMFCC_PhaseII
Adaptive Multivariate Functional EWMA control chart - Phase IAMFEWMA_PhaseI
Adaptive Multivariate Functional EWMA control chart - Phase IIAMFEWMA_PhaseII
Bind variables of two Multivariate Functional Data Objectscbind_mfd
Produce contribution plotscont_plot
T2 and SPE control charts for multivariate functional datacontrol_charts_pca
Real-time T2 and SPE control charts for multivariate functional datacontrol_charts_pca_mfd_real_time
Control charts for monitoring a scalar quality characteristic adjusted for by the effect of multivariate functional covariatescontrol_charts_sof_pc
Real-time scalar-on-function regression control chartscontrol_charts_sof_pc_real_time
Correlation Function for Multivariate Functional Datacor_mfd
Covariance Function for Multivariate Functional Datacov_mfd
Simulate multivariate functional datadata_sim_mfd
Performs the estimation of gaussian mixtures of regression models and gaussian mixture models. Used in FMRCC_PhaseI.estimate_mixture
Phase I of the FMRCCFMRCC_PhaseI
Phase II of the FMRCCFMRCC_PhaseII
Function-on-function linear regression based on principal componentsfof_pc
Get a list of function-on-function linear regression models estimated on functional data each evolving up to an intermediate domain point.fof_pc_real_time
Phase I of the FRTM method.FRTM_PhaseI
Phase II of the FRTM method.FRTM_PhaseII
Finds functional componentwise outliersfunctional_filter
Get Multivariate Functional Data from a three-dimensional arrayget_mfd_array
Get a list of functional data objects each evolving up to an intermediate domain point.get_mfd_array_real_time
Get Multivariate Functional Data from a data frameget_mfd_df
Get a list of functional data objects each evolving up to an intermediate domain point.get_mfd_df_real_time
Convert a 'fd' object into a Multivariate Functional Data object.get_mfd_fd
Get Multivariate Functional Data from a list of matricesget_mfd_list
Get a list of functional data objects each evolving up to an intermediate domain point.get_mfd_list_real_time
Get out of control observations from control chartsget_ooc
Get outliers from multivariate functional dataget_outliers_mfd
Get possible outliers of a training data set of a scalar-on-function regression model.get_sof_pc_outliers
Inner products of functional data contained in 'mfd' objects.inprod_mfd
Inner product of two multivariate functional data objects, for each observationinprod_mfd_diag
Confirm Object has Class 'mfd'is.mfd
Add the plot of a new multivariate functional data object to an existing plot.lines_mfd
Add curves to an existing multivariate functional data plotlines.mfd
Mean Function for Multivariate Functional Datamean.mfd
Define a Multivariate Functional Data Objectmfd
Mixed Functional Principal Component Analysis (mFPCA)mFPCA
Subtract multivariate functional data (and unary negation)-.mfd minus_mfd
Performs the estimation of gaussian mixtures of regression models and gaussian mixture models. Used in FMRCC_PhaseI.mixregfit_multivariate
Number of basis functionsnbasis
Number of observations in a multivariate functional data objectnobs.mfd
Norm of Multivariate Functional Datanorm.mfd
Number of variablesnvar
Open-end/open-begin Functional Dynamic Time Warping (OEB-FDTW)OEBFDTW
Setting open-end/open-begin functional dynamic time warping (OEB-FDTW) defaultspar.FDTW
Setting mixed functional principal component analysis (mFPCA) defaultspar.mFPCA
Setting real-time registration step defaultspar.rtr
Multivariate functional principal components analysispca_mfd
Get a list of multivariate functional principal component analysis models estimated on functional data each evolving up to an intermediate domain point.pca_mfd_real_time
Plot a Bivariate Functional Data Object.plot_bifd
Plot bootstrapped estimates of the scalar-on-function regression coefficientplot_bootstrap_sof_pc
Plot control chartsplot_control_charts
Plot real-time control chartsplot_control_charts_real_time
Plot a Multivariate Functional Data Object.plot_mfd
Plot multivariate functional object over the training data setplot_mon
Plot the harmonics of a 'pca_mfd' objectplot_pca_mfd
Plot the results of the Phase I and the Phase II of the AMFCCplot.AMFCC_PhaseI plot.AMFCC_PhaseII
Plot the results of the Phase I and the Phase II of the FRTMplot.FRTM_PhaseI plot.FRTM_PhaseII
Plot multivariate functional dataplot.mfd
Plot the results of the Mixed Functional Principal Component Analysis (mFPCA)plot.mFPCA
Add multivariate functional data+.mfd plus_mfd
Use a function-on-function linear regression model for predictionpredict_fof_pc
Use a scalar-on-function linear regression model for predictionpredict_sof_pc
Predict from a multivariate functional PCApredict.pca_mfd
Bind replications of two Multivariate Functional Data Objectsrbind_mfd
Functional Regression Control Chartregr_cc_fof
Real-time functional regression control chartregr_cc_fof_real_time
Scalar-on-Function Regression Control Chartregr_cc_sof
Real-time Scalar-on-Function Regression Control Chartregr_cc_sof_real_time
Robust Adaptive Multivariate Functional EWMA Control Chart - Phase IRoAMFEWMA_PhaseI
Robust Adaptive Multivariate Functional EWMA Control Chart - Phase IIRoAMFEWMA_PhaseII
Robust Multivariate Functional Control Charts - Phase IRoMFCC_PhaseI
Robust Multivariate Functional Control Charts - Phase I (casewise version)RoMFCC_PhaseI_casewise
Robust Multivariate Functional Control Charts - Phase IIRoMFCC_PhaseII
Robust Multivariate Functional Control Charts - Phase II (casewise version)RoMFCC_PhaseII_casewise
Robust Multivariate Functional Data Imputation (RoMFDI)RoMFDI
Robust multivariate functional principal components analysisrpca_mfd
Standardize Multivariate Functional Data.scale_mfd
Simulate example data for funchartssim_funcharts
Simulate Data for Functional Mixture Regression Control Chart (FMRCC)simulate_data_fmrcc
Simulate data for real-time monitoring of univariate functional datasimulate_data_FRTM
Simulate multivariate functional data with casewise and componentwise contaminationsimulate_data_RoMFCC
Simulate a data set for funchartssimulate_mfd
Scalar-on-function linear regression based on principal componentssof_pc
Get a list of scalar-on-function linear regression models estimated on functional data each evolving up to an intermediate domain point.sof_pc_real_time
Tensor product of two Multivariate Functional Data objectstensor_product_mfd
Pointwise product of multivariate functional data (and scalar multiplication)*.mfd times_mfd
Get the index of the out of control observations from control chartswhich_ooc