View source: R/ggbootMV-helper.R
calcRoundPropVar | R Documentation |
Convenience function to return the proportion of variation explained for the desired principal components, rounded to two decimal places.
calcRoundPropVar(vec, comp = 1:2)
vec |
numeric vector. Contains component-wise proportion of variation. |
comp |
integer vector. Specifies the principal components whose proportion of variation must be returned. Defaults to 1:2. |
Numeric vector.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.