Learn R Programming

PMmisc (version 0.1.2)

pl.histgg: Plot histograms for a data frame with ggplot2

Description

Plotting histograms for a data frame with 4 per image, with titles and label numbers automatically generated.

Usage

pl.histgg(x, l = 1)

Arguments

x

:a data frame

l

: the beginning label number in the title (default set to 1)

References

Freedman, David; Diaconis, Persi (December 1981). "On the histogram as a density estimator: L2 theory" (PDF). Probability Theory and Related Fields. Heidelberg: Springer Berlin. 57 (4): 453<U+2013>476. doi:10.1007/BF01025868. ISSN 0178-8051. Retrieved 2009-01-06.

Examples

Run this code
# NOT RUN {
pl.histgg(as.data.frame(EuStockMarkets),1)
# }

Run the code above in your browser using DataLab