Internal function for creating default bins for dataset variables.
Source:R/calculate-bins.R
calculate_bins.Rd
An internal function (ie, that's not currently exposed/exported outside the package) for creating default bins for dataset variables.
Value
Returns a list
, with two elements. Each element is an array with as many values as columns in d_observed
.
bin_width
The variable name (ind_observed
).bin_start
The variable'sclass
. (eg, numeric, Date, factor)