The range of x where
the histogram will be constructed.
freq
Whether w (if given) are frequencies.
truncate
Whether or not to truncate the data fall
beyond the range.x.
Value
A class hist is returned, where a component plot
is an R object "histogram" for visualization.
Details
If nclass is missing and the data are not prebinned, the
cross validation score based binwidth selector will be used
by default. If the data is pre-binned, the histogram will be
constructed by using the relative frequencies in weights,
or constructed using table if weights is missing.
References
Wang, B. and Wertelecki, W. (2012)
Density Estimation for Data With Rounding Errors.
Computational Statistics and Data Analysis,
(in press), doi: 10.1016/j.csda.2012.02.016.