Learn R Programming

prinsimp (version 0.8-8)

varperc: Varperc method for Simple Partition

Description

Produces the percent of variance explained plot for an object of the class simpart

Usage

varperc(x, ...)

Arguments

x
an object of class "simpart", typically result of simpart.
...
other parameters passed through to plotting functions

See Also

basisplot, varsimp, simpart

Examples

Run this code
library(prinsimp)
require(graphics)

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

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

varperc(cat.sim)

Run the code above in your browser using DataLab