draw_n_person_sample {gridsampler}R Documentation

Produce graphic for a single sample of n persons

Description

Produce graphic for a single sample of n persons

Usage

draw_n_person_sample(prob, n, a = 10, ap = rep(1/length(a), length(a)))

Arguments

prob

Probability to draw a construct from a certain category.

n

Number of persons, i.e. grids to be sampled.

a

Possible number of attributes sampled from.

ap

Attribute probabilities, i.e. for each number of attributes given in a.

See Also

Other Plotting: draw_multiple_n_persons_x_times

Examples

draw_n_person_sample(dexp(1:30, rate = .05), n = 100, a = 10)
draw_n_person_sample(dexp(1:30, rate = .05), n = 100, a = 1:5, ap = 5:1)

[Package gridsampler version 0.6 Index]