plotMV | R Documentation |
Plot predicted and actual target variables, with different plots depending on modelling approach.
plotMV(MUVRclassObject, model = "min", factCols, sampLabels, ylim = NULL)
MUVRclassObject |
An MUVR class object |
model |
What type of model to plot ('min', 'mid' or 'max'). Defaults to 'mid'. |
factCols |
An optional vector with colors for the factor levels (in the same order as the levels) |
sampLabels |
Sample labels (optional; implemented for classification) |
ylim |
Optional for imposing y-limits for regression and classification analysis |
A plot of results from multivariate predictions
data("freelive2")
nRep <- 2
nOuter <- 4
varRatio <-0.6
regrModel <- MUVR2(X = XRVIP2,
Y = YR2,
nRep = nRep,
nOuter = nOuter,
varRatio = varRatio,
method = "PLS",
modReturn = TRUE)
plotMV(regrModel, model="min")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.