check_primary_pars: Basic check of parameters for primary models
Description
Checks that: the model name is correct, the right number of model
parameters have been defined and that the parameters have the right names
Usage
check_primary_pars(model_name, pars)
Value
If there is no error, the model function.
Arguments
- model_name
Model identifier
- pars
A named list of model parameters