simplehist: Simple histograms

Description Usage Arguments Details Author(s) See Also

Description

Simple integer-valued histograms, for displaying count distributions.

Usage

1
simplehist( x , round=TRUE , ylab="Frequency" , ... )

Arguments

x

Vector of values to construct histogram from

round

When TRUE, rounds values in x before plotting

ylab

Label on vertical axis

...

Other parameters to pass to plot

Details

This function constructs clean histograms for count data. Non-integer data can be rounded to nearest integer before plotting. Internally, this function is little more than plot(table(x)).

Author(s)

Richard McElreath

See Also

hist


joepowers16/rethinking documentation built on June 2, 2019, 6:52 p.m.