powered by
Generate a list of spot functions
makeSpotFunList(vector2Matrix = TRUE)
logical. Convert vector input to matrix. Default: TRUE, so it can be used with optim.
optim
list of functions
# NOT RUN { fr <- makeSpotFunList() optim(c(-1.2,1), fr[[1]]) # }
Run the code above in your browser using DataLab