multiHist
¶
Overlay several histograms
Description¶
x should be a list of data frames with the same structure. Will plot a histogram of the column named by “stat” for each item in x
Usage¶
multiHist(x, stat, col = NULL, xlab = stat, breaks = 50, main = "",
xlim = NULL, ...)
Arguments¶
Argument |
Description |
---|---|
|
list of data frames. Each should have a column named stat |
|
gives the column to plot. Should be single character string. |
|
A list or character vectors of colors to use for each histogram. If NULL, will use a rainbow color, but each color will be given transparency value alpha=0.5 |
|
Label for x axis |
|
Passed on to hist function. Can be a number of breaks, or a numeric vector of break intervals. |
|
Title for plot |
|
limits for x-axis |
|
Passed to “hist” function |