mergeModels {MUVR2}R Documentation

Merge two MUVR class objects

Description

Merge two MUVR class objects that use regression for PLS or RF methods. The resultant MUVR class object has the same indata except that nRep is different.

Usage

mergeModels(MV1, MV2)

Arguments

MV1

a MUVR class Object

MV2

a MUVR class Object

Value

A merged MURV class object

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)
mergedModel<-mergeModels(regrModel,regrModel)


[Package MUVR2 version 0.1.0 Index]