| vc_partition | R Documentation |
Construct a regular or custom partition
vc_partition(interval = NULL, n = 10L, breaks = NULL)
interval |
Finite increasing pair of bounds. NULL when breaks supplied. |
n |
Positive integer number of regular cells; ignored with breaks. |
breaks |
Optional finite strictly increasing vector of partition points. When interval is supplied, endpoints must agree exactly. |
Plain list with type, interval, breaks, n, mesh and cells (left, right, width, midpoint). All cells have positive representable width.
vc_partition(c(0,2),n=4)
vc_partition(breaks=c(0,.2,1,2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.