test_year_bool.Rd
Fits a logistic regression model with glm to use year to predict proportion of a logical variable is TRUE, and tests whether beta is 0.
test_year_bool(pubs, col_use, 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.
Logical, whether preprints should be included. Defaults to `TRUE` to include preprints.
A glm object is returned invisibly. The summary is printed to screen