Tidy function that returns a tidy data.frame of model results and allows filtering to relevant coefficients. The function will attempt to tidy model objects even when they do not have a tidy method available. For best results, first load the broom package via
A model fit, as returned by a modeling function like lm, glm, or estimatr::lm_robust.
A character vector of the terms that represent quantities of interest, i.e., "Z". If FALSE, return the first non-intercept term; if TRUE return all terms.
A data.frame with coefficient estimates and associated statistics.
1 2 3
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.