PCALoadingsTable: PCALoadingsTable

View source: R/pcaloadingstable.R

PCALoadingsTableR Documentation

PCALoadingsTable

Description

Creates a pretty formattable table for PCA loadings.

Usage

PCALoadingsTable(
  loadings.matrix,
  variance.explained,
  eigenvalues,
  min.display.value,
  title = "",
  subtitle = "",
  footer = "",
  eigenvalue.label = "Eigenvalue"
)

Arguments

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.

References

This is based on code written by Kenton Russell.


NumbersInternational/flipFormat documentation built on Feb. 26, 2024, 5:36 a.m.