dump: Dump

Description Usage Arguments Value Examples

View source: R/dist.R

Description

Generic function to compute the empirical probability of each observable event and return the result as an array.

Usage

1
dump(d)

Arguments

d

Dist object representing the distribution.

Value

Vector giving the empirical probabilities of all events.

Examples

1
2
d <- Dist(c(0, 1, 2, 3, 4, 5, 6))
dump(d)

rinform documentation built on April 1, 2018, 12:12 p.m.