rinform (version 1.0.2)

dump: Dump

Description

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

Usage

dump(d)

Arguments

d

Dist object representing the distribution.

Value

Vector giving the empirical probabilities of all events.

Examples

# NOT RUN {
d <- Dist(c(0, 1, 2, 3, 4, 5, 6))
dump(d)
# }