checkinput {MUVR2} | R Documentation |
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
)
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 |
Value
correct_input: the original input(call) and the real input used in MUVR2 when you enter your input
Examples
data("freelive2")
checkinput(X = XRVIP2,
Y = YR2, ## YR2 a numeric variable
DA = FALSE,
fitness="RMSEP")
[Package MUVR2 version 0.1.0 Index]