Check validity of resource parameters and set defaults for missing but required parameters
Value
A valid resource parameter data frame
This function throws an error if
the
resourcecolumn does not exist or contains duplicatesw_minis not smaller thanw_maxw_minis smaller thanmin_wany parameter is negative
It sets default values if any of the following are missing or NA
kappais set to0.1lambdais set to2.05r_ppis set to4w_minis set tomin_ww_maxis set to10nis set to 2/3dynamicsis set to "resource_semichemostat"colouris drawn from a colour-blind-friendly palettelinetypeis set to "solid"
If resource_params was provided as a tibble it is converted back to an
ordinary data frame.
