Get optimizer options
get_optimizer_opts(
model_pars,
initial_pars = rep(NA, length(model_pars)),
ll = rep(NA, length(model_pars)),
ul = rep(NA, length(model_pars)),
optimizer = NULL,
family = NULL
)A list with optimizer options.
A character vector specifying the name of the parameters to fit.
A numeric vector specifying the initial
parameter values to #' evaluate the model at (required by optim).
Defaults to 0 for each parameter.
A numeric vector specifying the lower and upper limits of the parameters to fit, respectively
A string specifying the optimizer to use.
One from c("optim", "ga")
A string specifying the family function to
generate responses (and calculate the likelihood function with).
One from c("identity", "normal", "poisson").
fit_model()