categorize.pca: Categorize PCA results based on orthogonal and score...

Description Usage Arguments Details Value

View source: R/pca.R

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

1
2
## 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.


mdatools documentation built on Sept. 13, 2021, 9:07 a.m.