View source: R/pcaloadingstable.R
PCALoadingsTable | R Documentation |
Creates a pretty formattable table for PCA loadings.
PCALoadingsTable(
loadings.matrix,
variance.explained,
eigenvalues,
min.display.value,
title = "",
subtitle = "",
footer = "",
eigenvalue.label = "Eigenvalue"
)
loadings.matrix |
A matrix of the PCA loadings/structure. |
variance.explained |
A vector of the variance explained of the components. |
eigenvalues |
A vector of the eigenvalues corresponding to the components. |
min.display.value |
The minimum magnitude necessary for a value to be displayed. |
title |
The title for the table. |
subtitle |
Subtitle for the table. |
footer |
Text to place in the footer of the table. |
eigenvalue.label |
The label to display next to the eigenvalues. |
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.