tidy_attach_model: Attach a full model to the tibble of model terms
Description
To facilitate the use of broom helpers with pipe, it is recommended to
attach the original model as an attribute to the tibble of model terms
generated by broom::tidy().
named list of additional attributes to be attached to x
tidy_fun
option to specify a custom tidier function
exponentiate
logical indicating whether or not to exponentiate the
coefficient estimates. This is typical for logistic, Poisson and Cox models,
but a bad idea if there is no log or logit link; defaults to FALSE
...
other arguments passed to tidy_fun()
Details
tidy_attach_model() attach the model to a tibble already generated while
tidy_and_attach() will apply broom::tidy() and attach the model.
Use tidy_get_model() to get the model attached to the tibble and
tidy_detach_model() to remove the attribute containing the model.