R Observatory
Search

robustT2

0.1.0CRAN

Robust Hotelling-Type T² Control Chart Based on the Dual STATIS Approach

install.packages("robustT2")
CRAN 30-day downloads, method
267−22.6% down on the 30 days before, the worse direction
Test coverage, method
0%of lines run by tests

Implements a robust multivariate control-chart methodology for batch-based industrial processes with multiple correlated variables using the Dual STATIS (Structuration des Tableaux A Trois Indices de la Statistique) framework.

Full description

Implements a robust multivariate control-chart methodology for batch-based industrial processes with multiple correlated variables using the Dual STATIS (Structuration des Tableaux A Trois Indices de la Statistique) framework. A robust compromise covariance matrix is constructed from Phase I batches with the Minimum Covariance Determinant (MCD) estimator, and a Hotelling-type T² statistic is applied for anomaly detection in Phase II. The package includes functions to simulate clean and contaminated batches, to compute both robust and classical Hotelling T² control charts, to visualize results via robust biplots, and to launch an interactive 'shiny' dashboard. An internal dataset (pharma_data) is provided for reproducibility. See Lavit, Escoufier, Sabatier and Traissac (1994) <doi:10.1016/0167-9473(94)90134-1> for the original STATIS methodology, and Rousseeuw and Van Driessen (1999) <doi:10.1080/00401706.1999.10485670> for the MCD estimator.

Maintainer
Sergio Daniel Frutos Galarza
Latest release
10 Sep 2025
First release
10 Sep 2025

Compare with another package

More details
Releases
1
Needs compilation
No
Needs R
>= 3.5
Language
en-US
LazyData
true
RoxygenNote
7.3.2
Subjects (1) Method, Subjects
Cite

Package

Run in R for the authors' preferred citation:

citation("robustT2")
APA
Frutos Galarza, S. D., Galindo Villardón, P., & Ruiz Barzola, O. (2025). robustT2: Robust Hotelling-Type T² Control Chart Based on the Dual STATIS
Approach (Version 0.1.0) [Computer software]. https://doi.org/10.32614/CRAN.package.robustT2
About

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA
Balamuta, J. J. (2026). R Observatory: Metrics for robustT2 version 0.1.0 [Data set]. HJJB, LLC. Data release v2026-10-27. https://doi.org/10.5281/zenodo.21843040
About

From data release v2026-10-27, which the citation names so these numbers can be found later.

All 13 check platforms pass.

  • r-devel-linux-x86_64-debian-clang

    The unreleased R on Linux, x86_64, debian-clang

    OK

    Version checked
    0.1.0
    Time taken
    112 s
  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    OK

    Version checked
    0.1.0
    Time taken
    81 s
  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    OK

    Version checked
    0.1.0
    Time taken
    104 s
  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    OK

    Version checked
    0.1.0
    Time taken
    74 s
  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    OK

    Version checked
    0.1.0
    Time taken
    125 s
  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    0.1.0
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    0.1.0
    Time taken
    104 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    0.1.0
    Time taken
    148 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    0.1.0
    Time taken
    107 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    0.1.0
    Time taken
    106 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    0.1.0
    Time taken
    29 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    0.1.0
    Time taken
    92 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    0.1.0
    Time taken
    115 s
  • 13 OK

Over time

No change since 4 Aug 2026

As a list (3)
ChangedWorst statusOKNotesWarningsErrors
4 Aug 2026OK13000
1 Aug 2026Note12100
10 Mar 2026OK14000

Since March 2026

Check results on CRAN

Total downloads in the last 30 days
276−22.3% down on the 30 days before, the worse directionIt is the sum of 3 channels: CRAN, r2u and autoCRAN.

CRAN rank

16,075 of 26,529

CRAN

267 downloads in the last 30 days

Rank
16,075 of 26,529
Change
−22.6% down on the 30 days before, the worse direction

It is in the total. Take it out

r2u

1 downloads in the last 30 days

Rank
19,986 of 30,526
Change
−66.7% down on the 30 days before, the worse direction

It is in the total. Take it out

autoCRAN

8 downloads in the last 30 days

Rank
5,408 of 29,212
Change
+14.3% up on the 30 days before, the better direction

It is in the total. Take it out

Over time

Compare downloads

Needs
8
Dependent packages
0
Suggested by
0
Needs (8)
Installing it adds
55 packages, 44.7 MB of source
Of those, need compilation
32
Optional extras (1)
Functions
12
Public exports
12
Lines of R code
1,083
Median complexity
2
Functions (12)
Size and composition

Lines by kind (1,637)

KindLinesShare
R code1,08366%
Tests30.2%
Documentation55134%

Lines by language

LanguageLinesShare
R1,08666%
Rd55134%

Languages are counted from file extensions.

Files
34
R functions
12
Complexity
Median
2
Mean
2.67
Highest
8
Median lines per function
39.5
About complexity

Cyclomatic complexity counts the independent paths through a function: 1 is a straight line, higher is harder to test. R functions only.

Call graph figures
R functions
12
Calls
0
Unconnected
12
Groups
0

The tests ran and coverage was measured.

Lines run by tests
0%
Expressions run by tests
0%
Exports named in tests
0%
Coverage by file (11)
Coverage run
Lines counted
485
Lines the tests ran
0
Tests passed
Yes
Measured with
covr 3.6.5 on R 4.6.1
Test suite
Has tests
Yes
Test frameworks
R scripts, 1 script file
Lines of tests
3
Test lines per line of code
0
Exports documented
100%
Arguments documented
97.7%
Return value documented
100%
Help pages with examples
69.2%
Examples run in checks
100%
Other documentation
README
Yes, 154 words
Release notes file
No
Help pages
13
Lines of documentation
551
DatasetSizeColumns
pharma_dataSimulated Pharmaceutical Manufacturing Data450 × 7Batch, Phase, Status, Concentration, Humidity, Dissolution and 1 more

SergioDanielFG / robustt2 on github.com

Stars
0
Forks
0
Open issues
0
Last commit
5 Sep 2025
Activity
Commits
–
Open pull requests
0
Tagged releases
0
Latest tagged release
–
Issues closed in
–
Pull requests closed in
–
Pull requests merged
–
Created
23 Mar 2025
Licence file reads as
–
Development practices (2)
KindFound
CRAN release processCRAN-SUBMISSION
Lint, format, editorRStudio project

Method, repository practices

Across SergioDanielFG

R releases
  • On CRAN
  • Release
VersionReleasedR
0.1.0 current10 Sep 20254.5.1