#' This function takes the same inputs as given to the spot
call and checks for
possible problems in the users configuration
initialInputCheck(
x = NULL,
fun,
lower,
upper,
control = list(),
inSpotLoop = FALSE
)
is an optional start point (or set of start points), specified as a matrix. One row for each point, and one column for each optimized parameter.
is the objective function. It should receive a matrix x and return a matrix y. In case the function uses external code and is noisy, an additional seed parameter may be used, see the control$seedFun
argument below for details.
is a vector that defines the lower boundary of search space. This determines also the problem dimension.
is a vector that defines the upper boundary of search space.
is a list with control settings for spot. See spotControl
.
logical. If initial design, then FALSE
, otherwise TRUE
.