histline: Draws histogram.

Description Usage Arguments

Description

Utility function to draw histograms with more options than hist allows.

Usage

1
2
histline(height, breaks, lineonly = FALSE, outline = FALSE,
  fill = FALSE, ylim = range(height), xlab = "x", ylab = "y", ...)

Arguments

height

Height of histogram bars.

breaks

Locations of boundaries of histogram bins (must be 1 longer than height).

lineonly

If TRUE, uses lines to draw lines on current plot; else uses plot to draw lines on new plot.

outline

If TRUE, draws only the outline (profile) of the histogram; else draws each complete bar.

fill

If TRUE, uses polygon() to fill barsl in this case valid arguments to polygon() are passed via argument(s) "...". If fill==FALSE, valid arguments to plot() or lines() are passed via argument(s) "..."

ylim

Range of y-axis.

xlab

Label for x-axis.

ylab

Label for y-axis.

...

See aargument fill.


DistanceDevelopment/hsltm documentation built on June 21, 2019, 2:22 p.m.