R Language Base Plotting Histograms


Example

Histograms allow for a pseudo-plot of the underlying distribution of the data.

hist(ldeaths)

Histogram of ldeaths with default parameters

hist(ldeaths, breaks = 20, freq = F, col = 3)

Historgram with density, different breaks, and colored bars.