plotMV: Plot predictions

View source: R/plotMV.R

plotMVR Documentation

Plot predictions

Description

Plot predicted and actual target variables, with different plots depending on modelling approach.

Usage

plotMV(MUVRclassObject, model = "min", factCols, sampLabels, ylim = NULL)

Arguments

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

Value

A plot of results from multivariate predictions

Examples


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")


MUVR2 documentation built on Sept. 16, 2024, 9:06 a.m.