broom

v. 
by David Robinson
0

Monthly downloads

0th

Percentile

0
Type Package
Date 2016-06-24
URL http://github.com/dgrtwo/broom
BugReports http://github.com/dgrtwo/broom/issues
VignetteBuilder knitr
License MIT + file LICENSE
RoxygenNote 5.0.1
NeedsCompilation no
Packaged 2016-06-24 13:38:00 UTC; dgrtwo
Repository CRAN
Date/Publication 2016-06-24 19:14:04

Convert Statistical Analysis Objects into Tidy Data Frames

Convert statistical analysis objects from R into tidy data frames, so that they can more easily be combined, reshaped and otherwise processed with tools like 'dplyr', 'tidyr' and 'ggplot2'. The package provides three S3 generics: tidy, which summarizes a model's statistical findings such as coefficients of a regression; augment, which adds columns to the original data such as predictions, residuals and cluster assignments; and glance, which provides a one-row summary of model-level statistics.
Full Readme

Functions in broom

Name Description
augment Augment data according to a tidied model
binDesign_tidiers Tidy a binDesign object
Arima_tidiers Tidying methods for ARIMA modeling of time series
biglm_tidiers Tidiers for biglm and bigglm object
augment_columns add fitted values, residuals, and other common outputs to an augment call
acf_tidiers Tidying method for the acf function
aareg_tidiers Tidiers for aareg objects
auc_tidiers Tidiers for objects from the AUC package
anova_tidiers Tidying methods for anova and AOV objects
binWidth_tidiers Tidy a binWidth object
cv.glmnet_tidiers Tidiers for glmnet cross-validation objects
coxph_tidiers Tidiers for coxph object
confint_tidy Calculate confidence interval as a tidy data frame
cch_tidiers tidiers for case-cohort data
broom Convert Statistical Analysis Objects into Tidy Data Frames
bootstrap Set up bootstrap replicates of a dplyr operation
compact Remove NULL items in a vector or list
confint.geeglm Confidence interval for geeglm objects
btergm_tidiers Tidying method for a bootstrapped temporal exponential random graph model
boot_tidiers Tidying methods for bootstrap computations
data.frame_tidiers Tidiers for data.frame objects
finish_glance Add logLik, AIC, BIC, and other common measurements to a glance of a prediction
gam_tidiers Tidying methods for a generalized additive model (gam)
gamlss_tidiers Tidying methods for gamlss objects
ergm_tidiers Tidying methods for an exponential random graph model
fitdistr_tidiers Tidying methods for fitdistr objects from the MASS package
glance Construct a single row summary "glance" of a model, fit, or other object
fix_data_frame Ensure an object is a data frame, with rownames moved into a column
geeglm_tidiers Tidying methods for generalized estimating equations models
felm_tidiers Tidying methods for models with multiple group fixed effects
glm_tidiers Tidying methods for a glm object
glmnet_tidiers Tidiers for LASSO or elasticnet regularized fits
list_tidiers Tidiers for return values from functions that aren't S3 objects
gmm_tidiers Tidying methods for generalized method of moments "gmm" objects
kde_tidiers Tidy a kernel density estimate object from the ks package
kappa_tidiers Tidy a kappa object from a Cohen's kappa calculation
htest_tidiers Tidying methods for an htest object
inflate Expand a dataset to include all factorial combinations of one or more variables
kmeans_tidiers Tidying methods for kmeans objects
insert_NAs insert a row of NAs into a data frame wherever another data frame has NAs
lm_tidiers Tidying methods for a linear model
multinom_tidiers Tidying methods for multinomial logistic regression models
mclust_tidiers Tidying methods for Mclust objects
matrix_tidiers Tidiers for matrix objects
mcmc_tidiers Tidying methods for MCMC (Stan, JAGS, etc.) fits
lmodel2_tidiers Tidiers for linear model II objects from the lmodel2 package
loess_tidiers Augmenting methods for loess models
multcomp_tidiers tidying methods for objects produced by multcomp
optim_tidiers Tidiers for lists returned from optim
nlme_tidiers Tidying methods for mixed effects models
process_geeglm helper function to process a tidied geeglm object
poLCA_tidiers Tidiers for poLCA objects
process_lm helper function to process a tidied lm object
plm_tidiers Tidiers for panel regression linear models
process_ergm helper function to process a tidied ergm object
prcomp_tidiers Tidying methods for principal components analysis via prcomp
orcutt_tidiers Tidiers for Cochrane Orcutt object
nls_tidiers Tidying methods for a nonlinear model
rq_tidiers Tidying methods for quantile regression models
rstanarm_tidiers Tidying methods for an rstanarm model
summary_tidiers Tidiers for summaryDefault objects
survfit_tidiers tidy survival curve fits
tidy.power.htest tidy a power.htest
tidy.spec tidy a spec objet
tidy.TukeyHSD tidy a TukeyHSD object
unrowname strip rownames from an object
process_rq Helper function for tidy.rq and tidy.rqs
pyears_tidiers Tidy person-year summaries
tidy.default Default tidying method
tidy.coeftest Tidying methods for coeftest objects
tidy.NULL tidy on a NULL input
tidy.pairwise.htest tidy a pairwise hypothesis test
lme4_tidiers Tidying methods for mixed effects models
sp_tidiers tidying methods for classes from the sp package.
sparse_tidiers Tidy a sparseMatrix object from the Matrix package
tidy.manova tidy a MANOVA object
tidy.map Tidy method for map objects.
zoo_tidiers Tidying methods for a zoo object
mle2_tidiers Tidy mle2 maximum likelihood objects
rcorr_tidiers Tidying methods for rcorr objects
ridgelm_tidiers Tidying methods for ridgelm objects from the MASS package
svd_tidiers Tidying methods for singular value decomposition
tidy.ftable tidy an ftable object
survreg_tidiers Tidiers for a parametric regression survival model
tidy.numeric Tidy atomic vectors
tidy Tidy the result of a test into a summary data.frame
xyz_tidiers Tidiers for x, y, z lists suitable for persp, image, etc.
rlm_tidiers Tidying methods for an rlm (robust linear model) object
tidy.density tidy a density objet
rowwise_df_tidiers Tidying methods for rowwise_dfs from dplyr, for tidying each row and recombining the results
tidy.dist Tidy a distance matrix
sexpfit_tidiers Tidy an expected survival curve
smooth.spline_tidiers tidying methods for smooth.spline objects
tidy.table tidy a table object
tidy.ts tidy a ts timeseries object
No Results!

Dependencies

Get your badge !

[![Rdoc](http://www.rdocumentation.org/badges/version/broom)](http://www.rdocumentation.org/packages/broom)