Histogram from tabulated data
histochart.Rd
Uses lattice::barchart() to build a histogram from tabulated data.
Arguments
- x
formula of form
frequency ~ value
- data
data frame in which the formula
x
is interpreted- box.ratio
ratio of bar widths to gaps between bars
- origin
where do bars begin?
- horizontal
Should bars go horizontal?
- ...
other arguments passed to lattice::barchart()
Author
Randall Pruim (rpruim@calvin.edu)
Examples
histochart( dbinom(0:30, 30, 0.35) ~ 0:30 )