Version 0.3.4: NA-handling in augment; rowwise tidying
-
The behavior of
augment
, particularly with regard to missing data and thena.exclude
argument, has through the use of theaugment_columns
function been made consistent across the following models:lm
glm
nls
merMod
(lme4
)survreg
(survival
)coxph
(survival
)
Unit tests in
tests/testthat/test-augment.R
were added to ensure consistency across these models. -
tidy
,augment
andglance
methods were added forrowwise_df
objects, and are set up to apply across their rows. This allows for simple patterns such as:regressions <- mtcars %>% group_by(cyl) %>% do(mod = lm(mpg ~ wt, .)) regressions %>% tidy(mod) regressions %>% augment(mod)
See
?rowwise_df_tidiers
for more. -
Added
tidy
andglance
methods forArima
objects, andtidy
forpairwise.htest
objects. -
Fixes for CRAN: change package description to title case, removed NOTES, mostly by adding
globals.R
to declare global variables. -
This is the original version published on CRAN.