Learn R Programming

SPOT (version 2.11.10)

makeSpotFunList: makeSpotFunList

Description

Generate a list of spot functions

Usage

makeSpotFunList(vector2Matrix = TRUE)

Arguments

vector2Matrix

logical. Convert vector input to matrix. Default: TRUE, so it can be used with optim.

Value

list of functions

Examples

Run this code
# NOT RUN {
fr <- makeSpotFunList()
optim(c(-1.2,1), fr[[1]])

# }

Run the code above in your browser using DataLab