View source: R/data_functions.R
partition | R Documentation |
Divide vector into n groups
partition(x, n = 3)
n |
partition(LETTERS[1:10], 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.