histld: Histogram with log counts and defaults.

histldR Documentation

Histogram with log counts and defaults.

Description

histld plots a histogram having the counts logged and passing some default values to hist.

Usage

histld(x, breaks = 100, 
    col = "gray", main = NULL, 
    xlab = NULL, plot = TRUE, 
    ...)

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
plot
...

other parameters to hist

Value

an object of class histogram, see hist

Author(s)

Tomas Sieger

Examples

opar<-par(mfrow=c(1,2))
x<-rexp(1000)
histd(x)
histld(x)
par(opar)

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