Validates the options controlling the running of the code apollo_control
and sets default values for the omitted ones.
apollo_validatecontrol(database, apollo_control)
data.frame. Data used by model.
List. Options controlling the running of the code.
Character. Name of the model. Used when saving the output to files.
Character. Description of the model. Used in output files.
Character. Name of column in the database with each decision maker's ID.
Boolean. TRUE for models that include random parameters.
Numeric>0. Number of cores to use in calculations of the model likelihood.
Numeric. Seed for random number generation.
Boolean. TRUE if using RSGHB for Bayesian estimation of model.
Boolean. TRUE if user does not wish model input to be validated before estimation - FALSE by default.
Boolean. TRUE if user does not wish model diagnostics to be printed - FALSE by default.
Validated version of apollo_control, with additional element called panelData set to TRUE for repeated choice data.
This function should be run before running apollo_validatedata
.