histochart {abd}R Documentation

Histogram from tabulated data

Description

Uses lattice::barchart() to build a histogram from tabulated data.

Usage

histochart(x, data = NULL, box.ratio = 100, origin = 0,
  horizontal = FALSE, ...)

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()

Details

This is just a convenience wrapper around lattice::barchart().

Author(s)

Randall Pruim (rpruim@calvin.edu)

Examples

histochart( dbinom(0:30, 30, 0.35) ~ 0:30 )

[Package abd version 0.2-8 Index]