Convert statistical analysis objects from R into tidy format
OTHER License
Bot releases are hidden (Show)
Published by alexpghayes over 4 years ago
See NEWS
Published by alexpghayes over 4 years ago
See NEWS
Published by alexpghayes almost 5 years ago
Minor updates to remain on CRAN after changes to matrix classing behavior in R 4.0.0
Published by alexpghayes over 5 years ago
tidy.ergm()
internals for ergm 3.10Published by alexpghayes almost 6 years ago
Minor update to re-export tidy()
, glance()
and augment()
from the generics
package.
Published by alexpghayes over 6 years ago
Details available at https://broom.tidyverse.org/news/. This commit is exactly the code in the CRAN 0.5.0 version of the package.
Published by dgrtwo almost 9 years ago
tidy
methods for lists, including u, d, v lists from svd
, and x, y, z lists used by image
and persp
quick
argument to tidy.lm
, tidy.nls
, and tidy.biglm
, to create a smaller and faster version of the output.rowwise_df_tidiers
to allow the original data to be saved as a list column, then provided as a column name to augment
. This required removing data
from the augment
S3 signature. Also added tests-rowwise.R
Published by dgrtwo over 9 years ago
tidy.coeftest
for coeftest objects from the lmtest package.tidy.lm
to work with "mlm" (multiple linear model) objects (those with multiple response columns).tidy
and glance
for "biglm" and "bigglm" objects from the biglm package.tidy.coxph
when one-row matrices are returnedtidy.power.htest
tidy
and glance
for summaryDefault
objectstidy
and glance
for multinom
objects from the nnet package.Published by dgrtwo over 9 years ago
tidy.pairwise.htest
, which now can handle cases where the grouping variable is numeric.tidy.aovlist
method. This added stringr
package to IMPORTS to trim whitespace from the beginning and end of the term
and stratum
columns. This also required adjusting tidy.aov
so that it could handle strata that are missing p-values.glance.lm
to work with aov
objects along with lm
objects.tidy
and glance
for matrix objects, with tidy.matrix
converting a matrix to a data frame with rownames included, and glance.matrix
returning the same result as glance.data.frame
.Published by dgrtwo almost 10 years ago
felm
where the .fitted
and .resid
columns were matrices rather than vectors.rlm
(robust linear model) and gam
(generalized additive model) objects, including adjustments to "lm" tidiers in order to handle them. See ?rlm_tidiers
and ?gam_tidiers
for more.tidy.cv.glmnet
outputPublished by dgrtwo almost 10 years ago
The behavior of augment
, particularly with regard to missing data and the na.exclude
argument, has through the use of the augment_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
and glance
methods were added for rowwise_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
and glance
methods for Arima
objects, and tidy
for pairwise.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.
Published by dgrtwo almost 10 years ago
lme4
glmnet
survival
zoo
felm
MASS
(ridgelm
objects)tidy
and glance
methods for data.frames have also been added, and augment.data.frame
produces an error (rather than returning the same data.frame).stderror
has been changed to std.error
(affects many functions) to be consistent with broom's naming conventions for columns.bootstrap
has been added based on this example, to perform the common use case of bootstrapping models.Published by dgrtwo about 10 years ago
This release introduces the augment
and glance
generics, while the original included only tidy
. The three methods are explained in the vignettes, and the changes to the package in the NEWS file.
Published by dgrtwo about 10 years ago
Initial public release.