Default Panel Function for histogram

Share:

Description

This is the default panel function for histogram.

Usage

1
2
3
4
5
6
7
8
panel.histogram(x,
                breaks,
                equal.widths = TRUE,
                type = "density",
                nint = round(log2(length(x)) + 1), 
                alpha, col, border, lty, lwd,
                ...,
                identifier = "histogram")

Arguments

x

The data points for which the histogram is to be drawn

breaks

The breakpoints for the histogram

equal.widths

logical used when breaks==NULL

type

Type of histogram, possible values being "percent", "density" and "count"

nint

Number of bins for the histogram

alpha, col, border, lty, lwd

graphical parameters for bars; defaults are obtained from the plot.polygon settings.

...

other arguments, passed to hist when deemed appropriate

identifier

A character string that is prepended to the names of grobs that are created by this panel function.

Author(s)

Deepayan Sarkar Deepayan.Sarkar@R-project.org

See Also

histogram

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.