choose.cluster.BIC {varclust} | R Documentation |
Choses a subspace for a variable
Description
Selects a subspace closest to a given variable. To select the subspace, the method considers (for every subspace) a subset of its principal components and tries to fit a linear model with the variable as the response. Then the method chooses the subspace for which the value of BIC was the highest.
Usage
choose.cluster.BIC(variable, pcas, number.clusters,
show.warnings = FALSE)
Arguments
variable |
A variable to be assigned. |
pcas |
Orthogonal basis for each of the subspaces. |
number.clusters |
Number of subspaces (clusters). |
show.warnings |
A boolean - if set to TRUE all warnings are displayed, default value is FALSE. |
Value
index Number of most similar subspace to variable.
[Package varclust version 0.9.4 Index]