plot.mpda | R Documentation |
Generic functions for plotting and printing the content of a mpda
object.
## S3 method for class 'mpda' plot( x, y = NULL, col = c("tan3", "slategray3"), pch = 15, legend.pos = "bottomright", xlab = "PLS dimension 1", ylab = "PLS dimension 2", ... ) ## S3 method for class 'mpda' summary(object, ...)
x |
An |
y |
not used. |
col |
Colors, one for each class-label. |
pch |
Markers, one for each class-label. |
legend.pos |
Position of legend. |
xlab |
Text on x-axis. |
ylab |
Text on y-axis. |
... |
Optional graphical arguments. |
object |
An |
An mpda
object contains a fitted mpda
model.
The plot.mpda
function produces a multi-panel plot of all the pairwise pda
models,
see plot.pda
for details
The summary.mpda
function will display a text giving the number of samples from each class,
the number of PLS-dimensions used, and the priors used in the model fitting.
Lars Snipen.
mpda
.
data(poems) y <- poems[,1] X <- as.matrix(poems[,-1]) mp.trn <- mpda(y,X,prior=c(1,1,1),max.dim=10) plot(mp.trn) summary(mp.trn)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.