mitchelloharawild / distributional

Vectorised distributions for R
https://pkg.mitchelloharawild.com/distributional
GNU General Public License v3.0
94 stars 15 forks source link

Extend `dist_sample()` to support non-numeric samples #50

Closed mitchelloharawild closed 2 years ago

mitchelloharawild commented 3 years ago

It should be possible to sample from discrete values, and potentially other sampled value classes.

mitchelloharawild commented 2 years ago

Generalised by #75