twoHistOnePlot: Puts two histograms on the same plot.

Description Usage Arguments

View source: R/acc_functions.R

Description

Puts two histograms on the same plot, shows each with a different color, and overlap with a third color.

Usage

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))

Arguments

dataset1

A numeric data set; data.frame or matrix with one column.

dataset2

A numeric data set; data.frame or matrix with one column.

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.


biodev/packageDir documentation built on Nov. 4, 2019, 7:19 a.m.