| tidy_glance | R Documentation |
Apply both generics::tidy() and generics::glance() to an object and
return a single tibble with both sets of information.
tidy_glance(x, ..., tidy_args = list(), glance_args = list())
x |
An object to be converted into a tidy tibble. |
... |
Additional arguments passed to Arguments are passed to both methods, but should be ignored by the
inapplicable method. For example, if called on an lm object,
|
tidy_args |
A list of additional arguments passed only
to |
glance_args |
A list of additional arguments passed only
to |
A tibble with columns and rows from
generics::tidy() and columns of repeated rows
from generics::glance().
Column names that appear in both the tidy data and glance data will be
disambiguated by appending "model." to the glance column names.
mod <- lm(mpg ~ wt + qsec, data = mtcars)
tidy_glance(mod)
tidy_glance(mod, conf.int = TRUE)
tidy_glance(mod, tidy_args = list(conf.int = TRUE))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.