
Chop into equal-width intervals
Source:R/chop-by-width.R
, R/breaks-by-width.R
, R/tab.R
chop_evenly.Rd
chop_evenly()
chops x
into intervals
intervals of equal width.
Arguments
- x
A vector.
- intervals
Integer: number of intervals to create.
- ...
Passed to
chop()
.
Value
chop_*
functions return a factor
of the same length as x
.
brk_*
functions return a function
to create breaks
.
tab_*
functions return a contingency table()
.
See also
Other chopping functions:
chop()
,
chop_equally()
,
chop_fn()
,
chop_mean_sd()
,
chop_n()
,
chop_proportions()
,
chop_quantiles()
,
chop_spikes()
,
chop_width()
,
fillet()