draw_multiple_n_persons_x_times: Draw and redraw results of simulation

Description Usage Arguments See Also Examples

Description

Draw and redraw results of simulation

Usage

1

Arguments

d

A dataframe as returned by calc_probabilities.

See Also

Other Plotting: draw_n_person_sample

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## simulate
prob <-  dexp(1:30, .05)      # probabilities for categories
N <- seq(10, 80, by = 10)     # smaple sizes to simulate
r <- sim_n_persons_x_times_many_n(prob, n = N, a = 7, times = 100, progress = "none")

# calculate and draw
M <- 1:5                      # minimal number of categories to evaluate
p <- c(0.9, .95, 1)           # proportion of categories for which minimal m holds
d <- calc_probabilities(r, n = N, ms = M, min.props = p)
draw_multiple_n_persons_x_times(d)

gridsampler documentation built on May 2, 2019, 5:36 a.m.