Closed dshemetov closed 2 months ago
That printing error is a bit more subtle, it's if the median can't reasonably be computed. This currently happens if (a) 0.5 doesn't exist and (b) the available quantile_levels
don't straddle 0.5.
new_quantiles(c(1, 2), c(0.1, 0.9))
#> quantiles(1.5)[2]
Gotcha thanks for that detail.
When 0.5 quantile is not present, the object is printed like this
Can we improve this somehow?