sample_fct | R Documentation |
Sample elements from x
with replacement to build a factor.
sample_fct(x, N, ...)
x |
( |
N |
( |
... |
Additional arguments to be passed to |
A factor of length N
.
sample_fct(letters[1:3], 10)
sample_fct(iris$Species, 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.