Reduce a data set to representatives of bins and their frequencies
Source:R/auxiliaries.r
databinning.Rd
Reduce a data set to a named list of 'values' and 'freq', which are representatives of bins and their frequencies, respectively.
Arguments
- data
A numeric vector of a data set.
- bins
A positive integer to represent the number of bins.