hist_bool_line.Rd
Kind of like `hist_bool`, but instead of plotting TRUE, FALSE, and NA in 3 separate facets, it plots them as an outline overlaid on a translucent histogram for all values. This is useful when facetting with another categorical variable, such as programming language.
hist_bool_line(
pubs,
col_use,
facet_by = NULL,
ncol = 3,
n_top = Inf,
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.
Name of a column for facetting.
Number of columns in facetted plot.
Number of categories with the most publications to plot in facets; the other categories are lumped into "other".
Width of bins for the histogram in days.
Logical, whether preprints should be included. Defaults to `TRUE` to include preprints.