sim_n_persons_x_times {gridsampler} | R Documentation |
Complete simulation
Description
Complete simulation
Usage
sim_n_persons_x_times(prob, n, a, ap = rep(1/length(a), length(a)),
times = 100, progress = "text")
Arguments
prob |
Probability to draw a construct from a certain category. Length of vector determines number of categories. |
n |
Number of persons, i.e. grids to sample. |
a |
Number of constructs to be sampled. |
ap |
Probabilities for each number of attributes to be sampled. |
times |
Number of times to repeat each simulation. |
progress |
Type of progress bar shown during simulation. |
See Also
Other Simulations: sim_n_persons_x_times_many_n
,
sim_n_persons
, sim_one_person
Examples
## Not run:
sim_n_persons_x_times(dexp(1:30, .05), n = 2, a = c(1,30), ap = 1:2, times = 100)
sim_n_persons_x_times(dexp(1:30, .05), n = 2, a = c(1,30), times = 200, progress = "tk")
## End(Not run)
[Package gridsampler version 0.6 Index]