View source: R/varianceComponents.R
varianceOnEvecs | R Documentation |
Project the sample points stored in the rows of X
along the
eigenvectors of Q
and find the variance along each of the
projections.
varianceOnEvecs(X, Q)
X |
An n \times p data matrix, each row corresponding to a sample. |
Q |
A p \times p similarity matrix, either as a matrix
or as its eigendecomposition (the output from |
A vector containing the variance of the samples along each
of the eigenvectors of Q
.
data(AntibioticSmall) voe = varianceOnEvecs(AntibioticSmall$X, AntibioticSmall$Q)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.