Learn R Programming

MUVR2 (version 0.1.0)

checkinput: Check input

Description

This can be run to test if the command input of parameters contradict each other and check the structure of the data. If something goes wrong, warning messages are given.

Usage

checkinput(
  X,
  Y,
  ML,
  DA,
  method,
  fitness,
  nInner,
  nOuter,
  varRatio,
  scale,
  modReturn,
  logg,
  parallel
)

Value

correct_input: the original input(call) and the real input used in MUVR2 when you enter your input

Arguments

X

The original data of X, not the result after onehotencoding

Y

The original data of Y

ML

ML in MUVR2

DA

DA in MUVR2

method

RF or PLS so far in MUVR2

fitness

fitness in MUVR2

nInner

nInnerin MUVR2

nOuter

nOuter in MUVR2

varRatio

varRatio in MUVR2

scale

scale

modReturn

modReturn in MUVR2

logg

logg in MUVR2

parallel

parallel in MUVR2

Examples

Run this code
data("freelive2")
checkinput(X = XRVIP2,
           Y = YR2,  ## YR2 a numeric variable
           DA = FALSE,
           fitness="RMSEP")

Run the code above in your browser using DataLab