basisplot: Basisplot method for Simple Partition

Description Usage Arguments See Also Examples

Description

Produces the plots for the specified basis vectors of the class simpart

Usage

1
basisplot(x, display = list(model=TRUE, simple=TRUE), ...)

Arguments

x

an object of class "simpart", typically result of simpart.

display

a list. Specifies which model and nearly null space simplicity basis vectors to print.

...

other parameters passed through to plotting functions

See Also

varsimp, varperc, simpart

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
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)

## Plots the 4 model basis vectors and 2 simplicity basis vectors consecutively
basisplot(cat.sim)
    
## Display the 4 model basis vectors on one page
par(mfrow = c(2,2))
basisplot(cat.sim, display = list(model=1:4))

prinsimp documentation built on May 2, 2019, 2:41 a.m.