View source: R/acc_functions.R
Puts two histograms on the same plot, shows each with a different color, and overlap with a third color.
1 2 3 4 | twoHistOnePlot(dataset1, dataset2, frequency_not_density = T,
main_title = "main_title not set", x_label = "x_label not set",
y_label = "Frequency", legend_titles = c("dataset 1", "dataset 2"),
breaks = c(30, 30))
|
dataset1 |
A numeric data set; |
dataset2 |
A numeric data set; |
frequency_not_density |
Depricated. |
main_title |
The main title for the plot. |
x_label |
The label to be put along the x axis. |
y_label |
The label to be put along the y axis. |
legend_titles |
Character vector, length 2, giving the names of the data in dataset1 and dataset2. |
breaks |
Depricated. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.