Skip to contents

Translate the normalized sampled values of a parameter to ranges of groups of that parameter (e.g. when perco should have different ranges based on the initial values of perco in all HRUs)

Usage

translate_to_boundaries(par_tbl, par_name, par_bound, par_group)

Arguments

par_tbl

Table with the sampled parameter combinations

par_name

Name of the parameter which should be translated

par_bound

List of parameter boundaries to which the normalized values should be transformed to.

par_group

(named) Integer vector which defines the groups to which each spatial unit belongs to.

Value

The table with the parameter samples, where the normalized parameter is replaced by several columns with the updated parameter boundaries and correct names assigned, so that the parameter boundaries are correctly applied.