Learn R Programming

prinsimp (version 0.8-8)

summary.simpart: Summary method for Simple Partition

Description

The summary method for class "simpart". Prints the dimensions of the nearly null space in the simpart object, the percent of total variance explained by each basis vector, the cumulative percent of total variance explained (with accumulation restarting in the nearly null space), and the simplicity values of each basis vector. The model basis vectors are ordered by the percent of variance explained in descending order. The vectors in the simplicity basis of the nearly null space are ordered by their simplicity measures in descending order.

Usage

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

Arguments

object
an object of class "simpart", as from simpart().
loadings
logical. If true, all basis vectors are printed.
x
an object of class "summary.simpart".
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 component print.loadings.

See Also

simpart

Examples

Run this code
library(prinsimp)

## Caterpillar data: estimated covariance from Kingsolver et al (2004)
## Measurements are at temperatures 11, 17, 23, 29, 35, 40
data(caterpillar)

cat.sim <- simpart(caterpillar, simpledim = 2,
                   x = c(11, 17, 23, 29, 35, 40), cov = TRUE)
summary(cat.sim)

print(summary(cat.sim, loadings = TRUE), digits = 2)

Run the code above in your browser using DataLab