Partitions a vector x into n groups of roughly equal size.
Vector to partition.
Number of (roughly) equally-sized groups
A list of partitions of the vector x.
x <- 1:10 partition( x, 3 )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.