cut_width | R Documentation |
This function makes groups of width width
.
cut_width(
x,
width,
center = NULL,
boundary = NULL,
closed = c("right", "left"),
...
)
x |
numeric vector |
width |
The bin width. |
center , boundary |
Specify either the position of edge or the center of a bin. Since all bins are aligned, specifying the position of a single bin (which doesn't need to be in the range of the data) affects the location of all bins. If not specified, uses the "tile layers algorithm", and sets the boundary to half of the binwidth. To center on integers, |
closed |
One of |
... |
Arguments passed on to
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.