histd: Histogram with defaults.

histdR Documentation

Histogram with defaults.

Description

histd is just a shortcut to hist passing it some default values.

Usage

histd(x, breaks = 100, 
    col = "gray", main = NULL, 
    xlab = NULL, ...)

Arguments

x

a vector of values for which the histogram is desired

breaks

histogram breaks, see hist

col

a color to fill the bars, defaults to gray, see hist

main
xlab
...

other parameters to hist

Value

an object of class histogram, see hist

Author(s)

Tomas Sieger

Examples

histd(rnorm(100))

tsieger/tsiMisc documentation built on Oct. 10, 2023, 10:24 p.m.