Display a Binning Diagnosis
plot.bin_diagnosis.RdPrint diagnostic tables or draw a histogram, cumulative distribution, or candidate bin counts using base R graphics.
Arguments
- x
An object returned by
bin_diagnose().- digits
Significant digits in printed tables.
- type
Plot type. The histogram shows all finite values, including zeros. The ECDF shows the proportion at or below each value. Bin-count bars include empty bins and a separate zero category when requested.
- main
Optional title.
- ...
Additional arguments to the underlying graphics function, such as
breaksfor histogram resolution orxlimfor a display range. Do not override the suppliedxlab,ylab,col,border, ornames.argarguments. Unused by the print method.
Details
Histograms default to observation counts, including when display breaks
are unequal. Use freq = FALSE to request density instead.
Dashed lines mark internal candidate interval boundaries in histograms
and ECDF plots. Histogram bars are display bins, not the candidate categories.
Use type = "bins" to see counts of candidate categories. A separate zero
category is shown only in the bin-count plot; zeros remain included in histograms
and ECDFs. Orange count bars flag the user-set sparse-bin rules.