urnsample2 | R Documentation |
Create Sample Space of Urn Sampling
urnsample2(x, size, replace = FALSE, ordered = FALSE, probspace = FALSE, ...)
x |
Vector of objects in the urn |
size |
Number of samples from the urn |
replace |
Sampling with replacement? Default: FALSE |
ordered |
Consider the order of samples? Default: FALSE |
probspace |
Create probablity space? Default: FALSE |
... |
Other parameters |
Sample space in data frame
urnsample2(letters[1:5], 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.