Calculates the median of recovery times (Tau) estimated by compute_dtRec, optionally removing NA values.
Usage
compute_median_dtRec(Q, na.rm = TRUE)
Arguments
- Q
Numeric vector of discharge values.
- na.rm
Logical indicating whether to remove NA values before computing the median.
Value
A single numeric value representing the median recovery time.