sim_n_persons_x_times: Complete simulation

Description Usage Arguments See Also Examples

Description

Complete simulation

Usage

1
2
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

1
2
3
4
5
## 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)

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