Learn R Programming

stats (version 3.3)

summary.princomp: Summary method for Principal Components Analysis

Description

The summary method for class "princomp".

Usage

## S3 method for class 'princomp':
summary(object, loadings = FALSE, cutoff = 0.1, \dots)

## S3 method for class 'summary.princomp': print(x, digits = 3, loadings = x$print.loadings, cutoff = x$cutoff, \dots)

Arguments

object
an object of class "princomp", as from princomp().
loadings
logical. Should loadings be included?
cutoff
numeric. Loadings below this cutoff in absolute value are shown as blank in the output.
x
an object of class "summary.princomp".
digits
the number of significant digits to be used in listing loadings.
...
arguments to be passed to or from other methods.

Value

  • object with additional components cutoff and print.loadings.

See Also

princomp

Examples

Run this code
summary(pc.cr <- princomp(USArrests, cor = TRUE))
## The signs of the loading columns are arbitrary
print(summary(princomp(USArrests, cor = TRUE),
              loadings = TRUE, cutoff = 0.2), digits = 2)

Run the code above in your browser using DataLab