executePCFiltering: Filter principal component data

Description Usage Arguments Details Value See Also Examples

View source: R/executePCFiltering.R

Description

Filter raw principal component data automatically until only the top 2 PCs remain.

Usage

1

Arguments

pcData

a numerical R matrix or data frame.

Details

Indirect recursion in the case of optimal subset ambiguity (i.e. different models for maxBIC and maxLikelihood)

Value

list of iteration results from PCA filtering, where each iteation has one less PC. List elements are PCA matrices. Last entry in the list corresponds to the top 2 PCs for clustering.

See Also

evaluateClusterQuality

Examples

1
2
3
4
data <- validateAndLoadData(iris)
pcObj <- prcomp(data)
pcData <- pcObj$x
iterationResults <- executePCFiltering(pcData)

audrina/pcclust documentation built on Oct. 10, 2018, 7:21 p.m.