A control chart made with the T2 hotelling statistic, applied to detect anomalies in any of the K tables obtained with the specification of IndK. The control limit of the graph is obtained from the number of dimensions dim and the type I error alpha.
Arguments
base
Data set
IndK
Character with the name of the column that specifies the partition of the data set in k tables.
dim
Dimension taken for reduction. Initial dimension - 1 is recommended.
interactive
If it is TRUE, the graph will be shown interactively. If FALSE, the graph is displayed flat. FALSE is the default.
alpha
Type I error, it is recommended to reach this value by using the ARL.