This function generates ID text strings to be included in parameter names based on
parameter groups and hydrology data.
Usage
id_text_strings(par, par_groups, hyd)
Arguments
- par
A character vector specifying the parameter name. Example 'perco'.
- par_groups
A vector of groups identified based on parameter value.
Example: init_perco <- c(low = 0.01, mod = 0.50, high = 0.95)
- hyd
A data frame containing 'hydrology.hyd' data.
Value
A vector of HRU ID text strings separated into groups according to
provided values.
Examples
if (FALSE) {
hyd_hyd <- read_tbl(paste0(model_path, '/hydrology.hyd'))
init_perco <- c(low = 0.01, mod = 0.50, high = 0.95)
id_text_strings('perco', init_perco, hyd_hyd)
}