stats (version 3.1.1)

summary.princomp: Summary method for Principal Components Analysis

Description

The summary method for class "princomp".

Usage

"summary"(object, loadings = FALSE, cutoff = 0.1, ...)
"print"(x, digits = 3, loadings = x$print.loadings, cutoff = x$cutoff, ...)

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 DataCamp Workspace