# NOT RUN {
## Call the first instance of the 2D Sphere function
library(smoof)
set.seed(123)
x <- matrix(c(1,2),1,2)
funBBOBCall(x, opt = list(dimensions = 2L, fid = 1L, iid =1L))
## Use \code{\link{spot}}. Note the additional \code{opt} argument:
spot(x=NULL, funBBOBCall,
lower = c(-2,-3), upper = c(1,2),
control=list(funEvals=15),
opt = list(dimensions = 2L, fid = 1L, iid = 1L ))
# }
Run the code above in your browser using DataLab