select_random {rexer} | R Documentation |
randomly selects the number of elements. If null, returns them all randomly reordered.
select_random(vector, n = NULL)
vector |
A vector of strings. |
n |
An integer, number of elements to select. |
A vector of strings.