View source: R/varianceexplainedtable.R
VarianceExplainedTable | R Documentation |
Creates a pretty formattable table for variance explained.
VarianceExplainedTable(
eigenvalues,
variance.proportions,
cumulative.proportions,
title = "",
subtitle = "",
footer = ""
)
eigenvalues |
A vector of eigenvalues corresponding to the components. |
variance.proportions |
A vector of the variance explained of the components. |
cumulative.proportions |
A vector of the cumulative variance explained of the components. |
title |
The title for the table. |
subtitle |
Subtitle for the table. |
footer |
Text to place in the footer of the table. |
This is based on code written by Kenton Russell.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.