
Apply transformation to runoff data
transfo_q.Rd
Supports inverse, square root, power, and Box-Cox transformations of runoff data.
Log transformation is included but generally not recommended for KGE calculations
(see airGR or Santos, 2018). Use Use KGEtang
instead.
Arguments
- Q
A numeric vector, matrix, or data frame of runoff values.
- q_transfo_type
A string specifying the transformation type. Options are: "none", "sqrt", "inv", "log", "boxcox", "boxcoxsantos", and "power".
- lambda
A numeric value used for Box-Cox and power transformations. Default is 0.25.
- ...
Additional arguments passed to mean(), e.g., na.rm = TRUE, used in boxcoxsantos.