geom_histogram {ggplot2} R Documentation

Histograms and frequency polygons

Description


Visualise the distribution of a single continuous variable by dividing
the x axis into bins and counting the number of observations in each bin.
Histograms (geom_histogram()) display the counts with bars;

Usage

geom_histogram(bins,
    color = NULL,
    alpha = 1,
    range = NULL);

Arguments

bins

Number of bins. Overridden by binwidth. Defaults to 30. [as integer]

Details

Authors

SMRUCC genomics institute

Value

this function returns data object of type ggplotLayer.

clr value class

Examples


[Package ggplot2 version 1.0.0.0 Index]