Generates an object of class `"DiscreteMVDistribution"`

.

1 | ```
DiscreteMVDistribution(supp, prob, Symmetry = NoSymmetry())
``` |

`supp` |
numeric matrix whose rows form the support of the discrete multivariate distribution. |

`prob` |
vector of probability weights for the
elements of |

`Symmetry` |
you may help |

Typical usages are

1 2 3 | ```
DiscreteMVDistribution(supp, prob)
DiscreteMVDistribution(supp)
``` |

Identical rows are collapsed to unique support values.
If `prob`

is missing, all elements in `supp`

are equally weighted.

Object of class `"DiscreteMVDistribution"`

Matthias Kohl Matthias.Kohl@stamats.de

1 2 3 4 5 6 7 8 9 | ```
# Dirac-measure at (0,0,0)
D1 <- DiscreteMVDistribution(supp = c(0,0,0))
support(D1)
# simple discrete distribution
D2 <- DiscreteMVDistribution(supp = matrix(c(0,1,0,2,2,1,1,0), ncol=2),
prob = c(0.3, 0.2, 0.2, 0.3))
support(D2)
r(D2)(10)
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.