The summary
method for class "princomp"
.
# S3 method for princomp
summary(object, loadings = FALSE, cutoff = 0.1, …)# S3 method for summary.princomp
print(x, digits = 3, loadings = x$print.loadings,
cutoff = x$cutoff, …)
an object of class "princomp"
, as
from princomp()
.
logical. Should loadings be included?
numeric. Loadings below this cutoff in absolute value are shown as blank in the output.
an object of class "summary.princomp".
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
.
# NOT RUN { 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