mitchelloharawild / distributional

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

Identify appropriate vctrs structure #1

Closed mitchelloharawild closed 4 years ago

mitchelloharawild commented 4 years ago

Do different distributions belong in the same column? How should methods dispatch on different distributions?

mitchelloharawild commented 4 years ago

For simplicity in first version, the vctrs object should be a list of distributions, where dispatch is applied to each list element.