Description Usage Arguments Details Value See Also
Fits a modelling call to each group of a grouped data frame, extracts the
fitted parameters using broom::tidy
and interpolates
missing values using broom::augment
on existing points
or the newdata
.
1 | model_cleanly_groupwise(x, FUN, newdata = NULL, ...)
|
x |
Grouped data to apply |
FUN |
A name of a function that returns a model object or another R object with model information. |
newdata |
Data points at which to evaluate the model. |
... |
Arguments to |
The fitting is wrapped with purrr::possibly
and
will return empty objects instead of errors.
A grouped data frame with additional columns, data
,
model
, tidy
, augment_old
, and augment_new
.
model_display
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.