Checks that the input data frame has the appropriate format and data for simulations with medfate.
Details
The function performs the following checks:
The input is a data frame.
All parameter names defined in
SpParamsDefinition
should be listed as columns.Strict parameters should not contain missing values. Strict parameters are defined as such in
SpParamsDefinition
.
Examples
check_medfate_params(SpParamsES)
#> ✔ The data frame is acceptable as species parameter table for medfate.
check_medfate_params(SpParamsFR)
#> ✔ The data frame is acceptable as species parameter table for medfate.
check_medfate_params(SpParamsUS)
#> ✔ The data frame is acceptable as species parameter table for medfate.
check_medfate_params(SpParamsAU)
#> ✔ The data frame is acceptable as species parameter table for medfate.