all_partitions | R Documentation |
Build all partitions into intervals.
all_partitions(n, kmax = n)
n |
integer, sequence lenght to choose from. |
kmax |
int, maximum number of segments in solution. |
list of all partitions.
all_partitions(4, 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.