View source: R/11.3-data-validators.R
| validate_equation_params | R Documentation |
Validates equation parameters against their category requirements.
validate_equation_params(category, equation_num, params)
category |
Character string naming the bioenergetic category (e.g.
|
equation_num |
Character string identifying the equation variant within
the category (e.g. |
params |
Named list of parameter values to validate against the requirements defined for the specified category and equation. |
Invisibly returns TRUE if all required parameters are present
and pass their range checks. Throws an error with a descriptive message if
category or equation_num is unrecognised, if any required
parameter is missing from params, or if any parameter value falls
outside its admissible range.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.