predMV | R Documentation |
Predict outcomes Predict MV object using a MUVR class object and a X testing set. At present, this function only supports predictions for PLS regression type problems.
predMV(MUVRclassobject, newdata, model = "min")
MUVRclassobject |
An 'MUVR' class object |
newdata |
New data for which to predict outcomes |
model |
What type of model to plot ('min', 'mid' or 'max'). Defaults to 'mid'. |
The predicted result based on the MUVR model and the newdata
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)
predMV(regrModel,XRVIP2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.