Improve methods for sample distributions to work for non-numeric inputs
mitchelloharawild opened this issue · 0 comments
mitchelloharawild commented
For example, quantile(dist_sample(list(letters[1:5])), 0.5)
will poorly error. It should instead give NA_character_
.
Similar is needed for factors.
Ref: #89