Learn R Programming

MUVR2 (version 0.1.0)

plotVAL: Plot validation metric

Description

Produces a plot of validation metric vs number of variables in model (inner segment).

Usage

plotVAL(MUVRclassObject, show_outlier = TRUE)

Value

A plot

Arguments

MUVRclassObject

An object of class `MUVR`

show_outlier

Boolean, show outliers

Examples

Run this code
# \donttest{
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)
plotVAL(regrModel)
# }

Run the code above in your browser using DataLab