Description
arsenal is an R package for statistical reporting, with functions that make it easy to summarize data and compare datasets. Each of its six main functions is based on a SAS macro or procedure with similar functionality. tableby() summarizes a set of variables by one or more categorical variables and can run an appropriate test on how they are distributed across the levels. paired() does the same across two time points. The package also has modelsum() for model summaries and freqlist() for frequency tables, and comparedf() replaced compare() in version 3.0.0. Output from the summary functions can be knitted into R Markdown documents or printed in the console with summary(). Options are set through control functions such as tableby.control(). The project has a pkgdown documentation site. The README notes that version 3.0.0 is not backwards compatible with earlier versions and points to the NEWS file for details.…
Highlights
- Summary tables by categorical variables with tests
- Paired summaries across two time points
- Model and frequency summaries
- R Markdown and console output
- Documented on a pkgdown site
Ratings & Reviews
No ratings yet
Be the first to rate Arsenal.
People also visit
Arsenal FAQ
What is arsenal?
An R package for statistical reporting, with functions for summary tables and comparisons.
Who is it for?
R users who need to produce summary tables and reports from their data.
How does tableby() work?
It summarizes one or more independent variables by one or more categorical variables and can test how they are distributed across the groups.
Is version 3 compatible with older versions?
Not fully. Version 3.0.0 is not backwards compatible, mainly because compare() was renamed to comparedf(). The NEWS file has the details.
Where is the documentation?
On the pkgdown site at mayoverse.github.io/arsenal.
What are the best Arsenal alternatives?
Popular alternatives to Arsenal include Report, See and GWalkR. See all Arsenal alternatives









