R/model.R
cmb.Rd
Create a closure combining a function with data.
cmb(f, d)
a function to wrap in a closure.
function
a list of data to bind to the function.
list
a function that takes parameters and calls f(parameters, data).