Learn R Programming

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

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

Run the code above in your browser using DataLab