subset_length | R Documentation |
Utility function. Subset a vector/list/etc.
x
and return another with length min(length, length(x))
subset_length(x, length, random)
x |
object to subset |
length |
new length |
random |
logical, whether to take a random subset or just the head. |
help_downsize
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.