mergeModels: Merge two MUVR class objects

View source: R/mergeModels.R

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


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