View source: R/11.3-data-validators.R
| validate_temporal_data | R Documentation |
Validates temporal data arrays for simulation readiness.
validate_temporal_data(
temperature,
diet_matrix,
energy_matrix,
indigestible_matrix,
reproduction_data
)
temperature |
Temperature vector |
diet_matrix |
Diet proportion matrix |
energy_matrix |
Prey energy matrix |
indigestible_matrix |
Indigestible fraction matrix |
reproduction_data |
Reproduction vector |
Invisibly returns TRUE if all temporal data pass validation.
Throws an error with a descriptive message if any input contains invalid
values (e.g. non-finite temperatures, diet proportions outside [0,1],
non-positive prey energies, or indigestible/reproduction fractions outside
[0,1]). May also emit warnings for values that are technically valid
but biologically unusual (e.g. extreme temperatures or very high annual
reproductive investment).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.