sim_one_person: Simulate a single grid

Description Usage Arguments See Also Examples

Description

Simulate a single grid

Usage

1
sim_one_person(prob, a = 10)

Arguments

prob

Probability to draw a construct from a certain category.

a

Number of constructs to be sampled.

See Also

Other Simulations: sim_n_persons_x_times_many_n, sim_n_persons_x_times, sim_n_persons

Examples

1
2
3
# draw from exponential distribution
p <- dexp(1:20, rate = .1)
sim_one_person(p, a = 10)

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