Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/EmpiricalMVDistribution.R

Generates an object of class `"DiscreteMVDistribution"`

.

1 | ```
EmpiricalMVDistribution(data, Symmetry = NoSymmetry())
``` |

`data` |
numeric matrix with data where the rows are interpreted as observations. |

`Symmetry` |
you may help |

The function is a simple utility function providing a wrapper to the
generating function `DiscreteDistribution`

.

Typical usages are

1 2 |

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 [email protected]

1 2 3 4 5 6 7 | ```
## generate some data
X <- matrix(rnorm(50), ncol = 5)
## empirical distribution of X
D1 <- EmpiricalMVDistribution(data = X)
support(D1)
r(D1)(10)
``` |

distrEx documentation built on July 23, 2018, 1:03 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.