hist_bool.Rd
Plots 3 histograms showing the number of publications per year for TRUE, FALSE, and NA, with the histogram overlaid on top of a translucent one for all values. There's one facet per row so it's easy to compare how things change with time.
hist_bool(pubs, col_use, binwidth = 365, preprints = TRUE)
A data frame with at least these columns:
Name of the journal of the paper.
Year when the paper was published.
There must be one row per publication or per method or species for each title if faceting by those. If facetting, then a column whose name is the value in `facet_by` must be present.
Which logical variable to plot. Tidyeval is supported.
Width of bins for the histogram in days.
Logical, whether preprints should be included. Defaults to `TRUE` to include preprints.
A ggplot2 object