calculate.pcas {varclust} | R Documentation |
Calculates principal components for every cluster
Description
For given segmentation this function estimates dimensionality of each cluster (or chooses fixed dimensionality) and for each cluster calculates the number of principal components equal to the this dimensionality
Usage
calculate.pcas(X, segmentation, number.clusters, max.subspace.dim,
estimate.dimensions)
Arguments
X |
A data matrix. |
segmentation |
A vector, segmentation of variables into clusters. |
number.clusters |
An integer, number of subspaces (clusters). |
max.subspace.dim |
An integer, upper bound for allowed dimension of subspace. |
estimate.dimensions |
A boolean, if TRUE subspaces dimensions are estimated using PESEL. |
Value
A subset of principal components for every cluster.
[Package varclust version 0.9.4 Index]