Description Usage Arguments Value
View source: R/getRandomElements.R
Similar to sample
, but with the small
exception, that giving a single value x as input is treated
as a single vector and not like 1:x.
1 | getRandomElements(x, size = 1L, replace = FALSE)
|
x |
[ |
size |
[ |
replace |
[ |
[vector
]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.