categorize.pca {mdatools} | R Documentation |
Categorize PCA results based on orthogonal and score distances.
Description
The method compares score and orthogonal distances of PCA results from res
with
critical limits computed for the PCA model and categorizes the corresponding objects as
"regular", "extreme" or "outlier".
Usage
## S3 method for class 'pca'
categorize(obj, res = obj$res$cal, ncomp = obj$ncomp.selected, ...)
Arguments
obj |
object with PCA model |
res |
object with PCA results |
ncomp |
number of components to use for the categorization |
... |
other parameters |
Details
The method does not categorize hidden values if any.
Value
vector (factor) with results of categorization.
[Package mdatools version 0.14.1 Index]