- n.factor
vector of numbers of distinct levels, “0” indicating continuous factors that always come first, “2” or more for discrete factors, and “1” not allowed.
- factor.level
list of distinct factor levels, “(min, max)” for continuous factors that always come first, finite sets for discrete factors.
- var_names
Names for the design factors. Must have the same length asfactor.level. Defaults to "X1", "X2", ...
- xlist_fix
list of discrete factor experimental settings under consideration, default NULL indicating a list of all possible discrete factor experimental settings will be used.
- hfunc
function for generating the corresponding model matrix or predictor vector, given an experimental setting or design point.
- h.prime
User-supplied derivative function for continuous factors x_(1) in R^k (k is the number of continuous variables). For MLMs: returns a list of J*p matrices dX_x/dx_j, j=1,...,k (numerical derivatives if omitted). For GLMs: returns the p times k matrix dh(x)/dx_(1) (defaults to main effects if omitted).
- bvec
assumed parameter values of model parameters beta, same length of h(y)
- link
link function, default "logit", other links: "probit", "cloglog", "loglog", "cauchit", "log", "identity"
- delta0
merging threshold for initial design, such that, || x_i(0) - x_j(0) || >= delta0, default 1e-5
- epsilon
tuning parameter as converging threshold, such that, a nonnegative number is regarded as numerical zero if less than epsilon, default 1e-12.
- reltol
the relative convergence tolerance, default value 1e-5
- delta
relative difference as merging threshold for the merging step, the distance of two points less than delta may be merged, default 0, can be different from delta0 for the initial design.
- maxit
the maximum number of iterations, default value 100
- random
TRUE or FALSE, if TRUE then the function will run lift-one with additional "nram" number of random approximate allocation, default to be FALSE
- nram
when random == TRUE, the function will run lift-one nram number of initial proportion p00, default is 3
- random.initial
TRUE or FALSE, whether or not to repeat the whole procedure multiple times with random initial designs, default FALSE.
- nram.initial
number of times repeating the whole procedure with random initial designs, valid only if random.initial is TRUE, default 3.
- logscale
TRUE or FALSE, whether or not to run the lift-one step in log-scale, i.e., using liftoneDoptimal_log_GLM_func() or liftoneDoptimal_GLM_func().
- rowmax
maximum number of points in the initial design, default NULL indicates no restriction
- Xini
initial list of design points, default NULL indicating automatically generating an initial list of design points.
- pini
A numeric vector specifying the initial weights for the design points in Xini, default NULL indicating automatically generating an uniform weights of design points.