panel.hist: Panel plot of histogram and density curve

Description Usage Arguments Details Author(s) References Examples

Description

Prints the histogram and corresponding density curve

Usage

1
panel.hist(x, col.bar = "gray", ...)

Arguments

x

a numeric vector of x values

col.bar

the color of the bars

...

options passed to hist

Details

This function prints a combined histogram and density curve for use with the pairs function

Author(s)

Claus Ekstrom claus@rprimer.dk

References

Ekstrom, CT (2011) The R Primer.

Examples

1
2
3
pairs(~ Ozone + Temp + Wind + Solar.R, data=airquality,
      lower.panel=panel.smooth, diag.panel=panel.hist,
      upper.panel=panel.r2)


Search within the MESS package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.