gets the rank associated with a properly aligned factor matrix.
Usage
getQforComp(loadings, tau = 1, verbose = FALSE, quick = FALSE)
Arguments
loadings
aligned factor matrix.
tau
diagonal noise used for KL computations.
verbose
if TRUE maximal info is displayed.
quick
if TRUE, column norm values are used instead of KL computations (less accurate but faster).
Value
rank associated with loadings.
References
Bruneau, P., Gelgon, M. and Picarougne, F. (2011) _Component-level aggregation of probabilistic PCA mixtures using variational-Bayes_, Tech Report, http://hal.archives-ouvertes.fr/docs/00/56/72/99/PDF/techrep.pdf.