Replace extreme water values by chosen values.
Arguments
- results_dt
A
dplyr::tibble()containing water values. OutputwatervaluesfromGrid_Matrix().- min
Double. Minimal accepted water value.
- max
Double. Maximal accepted water value.
- max_vu
Double. Value to use for water values higher than
max.- min_vu
Double. Value to use for water values lower than
min.- replace_na_method
Character. Method to replace extreme values, either
"constant values"to replace bymax_vuandmin_vuor"extreme values"to replace by the extreme values of the current week.
Value
A dplyr::tibble() with same format than results_dt.