Description Usage Arguments See Also Examples

Produce graphic for a single sample of n persons

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

`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 |

Other Plotting: `draw_multiple_n_persons_x_times`

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

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.