hist_bins {baizer} | R Documentation |
separate numeric x into bins
Description
separate numeric x into bins
Usage
hist_bins(x, bins = 10, lim = c(min(x), max(x)), breaks = NULL, sort = FALSE)
Arguments
x |
numeric vector |
bins |
bins number, defaults to 10 |
lim |
the min and max limits of bins, default as |
breaks |
assign breaks directly and will ignore |
sort |
sort the result tibble |
Value
tibble
Examples
x <- dplyr::pull(mini_diamond, price, id)
hist_bins(x, bins = 20)
[Package baizer version 0.8.0 Index]