Define a list of control parameters. Note that
the format of this input is likely to change more rapidly than that of
phylosem
Usage
phylosem_control(
nlminb_loops = 1,
newton_loops = 1,
trace = 0,
eval.max = 1000,
iter.max = 1000,
getsd = TRUE,
quiet = FALSE,
run_model = TRUE,
use_REML = TRUE,
getJointPrecision = FALSE,
profile = c(),
tmb_inputs = NULL
)Arguments
- nlminb_loops
Integer number of times to call
nlminb.- newton_loops
Integer number of Newton steps to do after running
nlminb.- trace
Parameter values are printed every `trace` iteration for the outer optimizer. Passed to `control` in
nlminb.- eval.max
Maximum number of evaluations of the objective function allowed. Passed to `control` in
nlminb.- iter.max
Maximum number of iterations allowed. Passed to `control` in
nlminb.- getsd
Boolean indicating whether to call
sdreport- quiet
Boolean indicating whether to run model printing messages to terminal or not;
- run_model
Boolean indicating whether to estimate parameters (the default), or instead to return the model inputs and compiled TMB object without running;
- use_REML
Boolean indicating whether to use Restricted Maximum Likelihood (REML) estimation, i.e., treate xbar_j as a random effect. phylosem prior to release 2.0.0 always used REML, so the default is TRUE to maintain backwards consistency. Using REML will mitigate one (small) source of bias in estimated variance parameters.
- getJointPrecision
whether to get the joint precision matrix. Passed to
sdreport.- profile
Parameters to profile out of the likelihood (this subset will be appended to random with Laplace approximation disabled).
- tmb_inputs
optional tagged list that overrides the default constructor for TMB inputs (use at your own risk)
