# \donttest{
data("freelive2")
nRep <- 2 # Number of MUVR2 repetitions
nOuter <- 3 # Number of outer cross-validation segments
varRatio <- 0.75 # Proportion of variables kept per iteration
method <- 'PLS' # Selected core modeling algorithm
regrModel <- MUVR2(X = XRVIP2,
Y = YR2,
nRep = nRep,
nOuter = nOuter,
method = method,
modReturn = TRUE)
biplotPLS(regrModel$Fit[[2]],
comps = 1:2,
xCol = YR2,
labPlSc = FALSE,
labPlLo = FALSE)
# }
Run the code above in your browser using DataLab