Returns an R function that calls a C++ function which calculates V efficiently.
apollo_cppScript(apollo_probabilities, apollo_beta, apollo_inputs, V)
Likelihood function of the whole model.
Named numeric vector of parameters to be estimated.
List of arguments and settings generated by apollo_validateInputs.
Named list of functions.
A function that receives three arguments:
db
: Data.frame containing observations.
b
: Named numeric vector containing paramters to be estimated.
drw
: Named list containing draws, as contained inside apollo_inputs
.
And returns a named list with numeric elements.
V must be a list of functions.