Learn R Programming

mdatools (version 0.14.1)

categorize.pca: 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 pca
categorize(obj, res = obj$res$cal, ncomp = obj$ncomp.selected, ...)

Value

vector (factor) with results of categorization.

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.