Description Usage Arguments See Also Examples
Produces the variance-simplicity view for the specified basis vectors of the d-dimensional sample space.
1 |
x |
an object of class |
display |
a list specifying which model basis vectors and which nearly null space simplicity basis vectors to print. |
full.simple |
logical indicating whether to draw the background lines at simplicity values of the full space. |
... |
other parameters passed through to plotting functions |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | 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)
## Display all 6 basis vectors in the variance-simplicity view
varsimp(cat.sim)
## Display only the 4 model basis vectors in the variance-simplicity view
varsimp(cat.sim, display = list(model=1:4))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.