Description Usage Arguments Author(s) Examples
View source: R/utilitiesbreak.r
cut_interval
makes n
groups with equal range, cut_number
makes n
groups with (approximately) equal numbers of observations;
cut_width
makes groups of width width
.
1 2 3 4 5 6 
x 
numeric vector 
n 
number of intervals to create, OR 
length 
length of each interval 
... 
Arguments passed on to

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 
Randall Prium contributed most of the implementation of
cut_width
.
1 2 3 4 5 6 7 8 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.