Description Usage Arguments Value Examples
Create Sample Space of Urn Sampling
1 2 |
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
1 | urnsample2(letters[1:5], 3)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.