Learn R Programming

gridsampler (version 0.6)

expected_frequencies: Produce ggplot of percentiles for simulated frequencies

Description

Produce ggplot of percentiles for simulated frequencies

Usage

expected_frequencies(r)

Arguments

r
A dataframe. The result returned from sim_n_persons_x_times.

Value

Draws a ggplot

See Also

Other Utilities: calc_probabilities, prob_categories

Examples

Run this code
r <- sim_n_persons_x_times(dexp(1:30, rate = .05), n = 50, a = 5:7, ap = 1:3, 100)
expected_frequencies(r)

Run the code above in your browser using DataLab