test_year_bool | R Documentation |
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)
pubs |
A data frame with at least these columns:
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. |
col_use |
Which logical variable to plot. Tidyeval is supported. |
preprints |
Logical, whether preprints should be included. Defaults to 'TRUE' to include preprints. |
A glm object is returned invisibly. The summary is printed to screen
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.