sim_one_person {gridsampler}R Documentation

Simulate a single grid

Description

Simulate a single grid

Usage

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

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


[Package gridsampler version 0.6 Index]