hist.int: Histogram of integers Plot a histogram of the integers in...

Description Usage Arguments Author(s)

Description

Histogram of integers Plot a histogram of the integers in x. Useful if x is a vector of counts or integers. It essentially is a smart hist that works out where to place the breaks so that you can see the counts at each integer in x

Usage

1
2
  hist.int(x, xlab = "counts", col = NULL,
    add.density = FALSE, density.adjust = 7, ...)

Arguments

x

an integer vector

xlab

the x-axis title

col

a colour to be used to fill the bars. The default of NULL yields unfilled bars.

add.density

logical: add a density trace over the top?

density.adjust

see adjust parameter to density

...

arguments passed to hist

Author(s)

Mark Cowley, 16 May 2006


drmjc/mjcgraphics documentation built on May 15, 2019, 2:40 p.m.