R: A function to set up a design for a given set of factors with...
mbrdsim
R Documentation
A function to set up a design for a given set of factors with their specific levels
using the MBR-design method.
Description
The multi-level binary replacement (MBR) design approach is used here in order to facilitate the investigation of the effects of
the data properties on the performance of estimation/prediction methods. The mbrdsim function
takes as input a list containing a set of factors with their levels. The output is an MBR-design
with the combinations of the factor levels to be run.
Usage
mbrdsim(simlist, fraction)
Arguments
simlist
A named list containing the levels of a set of (multi-level) factors.
fraction
Design fraction at bit-level. Full design: fraction=0, half-fraction: fraction=1, and so on.
Value
BitDesign
The design at bit-factor level. The object is of class design, as output from FrF2. Function design.info()
can be used to get extra design info of the bit-design. The bit-factors are named.numbered if the input factor list is named.
Design
The design at original factor level, non-randomized. The factors are named if the input factor list is named.
Author(s)
Solve S<c3><a6>b<c3><b8>
References
Martens, H., M<c3><a5>ge, I., T<c3><b8>ndel, K., Isaeva, J., H<c3><b8>y, M. and S<c3><a6>b<c3><b8><c2><b8>, S., 2010, Multi-level binary replacement (MBR) design for computer experiments in high-dimensional nonlinear systems, J, Chemom, 24, 748–756.
Examples
#Input: A list of factors with their levels (number of levels must be a multiple of 2).
simlist <- list(R2=c(0.5,0.9),
pos = c(12,45),
gamma = c(0.1, 0.9),
comp = 1:8,
alpha = c(0.01, 0.05, 0.1, 0.25))
# A 1/8 design
des <- mbrdsim(simlist, fraction=3)
#The MBRD-design at original factor level
des$Design
#Info about the bit-design
design.info(des$BitDesign)