Validates temporal data arrays for simulation readiness.
validate_temporal_data(
temperature,
diet_matrix,
energy_matrix,
indigestible_matrix,
reproduction_data
)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).
Temperature vector
Diet proportion matrix
Prey energy matrix
Indigestible fraction matrix
Reproduction vector