initialInputCheck: initialInputCheck. Initial Input Check of Spot Configuration

View source: R/initialInputCheck.R

initialInputCheckR Documentation

initialInputCheck. Initial Input Check of Spot Configuration

Description

#' This function takes the same inputs as given to the spot call and checks for possible problems in the users configuration

Usage

initialInputCheck(
  x = NULL,
  fun,
  lower,
  upper,
  control = list(),
  inSpotLoop = FALSE
)

Arguments

x

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.

fun

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.

lower

is a vector that defines the lower boundary of search space. This determines also the problem dimension.

upper

is a vector that defines the upper boundary of search space.

control

is a list with control settings for spot. See spotControl.

inSpotLoop

logical. If initial design, then FALSE, otherwise TRUE.


SPOT documentation built on June 26, 2022, 1:06 a.m.