mitchelloharawild / distributional

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

Allow dist_mixture() weights to vary across distribution length #80

Open mitchelloharawild opened 1 year ago

mitchelloharawild commented 1 year ago

Currently weights must be a numeric vector matching the number of distributions in ..., and these weights are applied consistently across the length of these distributions.

Providing a list() of weights could allow the weights to vary across length.