summary.princomp | R Documentation |
The summary
method for class "princomp"
.
## S3 method for class 'princomp' summary(object, loadings = FALSE, cutoff = 0.1, ...) ## S3 method for class 'summary.princomp' print(x, digits = 3, loadings = x$print.loadings, cutoff = x$cutoff, ...)
object |
an object of class |
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. |
object
with additional components cutoff
and
print.loadings
.
princomp
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.