summarytools is a collection of functions which neatly and quickly summarize numerical and categorical data. Data frame summaries, frequency tables and cross-tabulations, as well as common descriptive (univariate) statistics can be produced in a straightforward manner. Users with little to no prior R programming experience but who are familiar with popular commercial statistical software such as SAS, SPSS and Stata will feel right at home.
These are the four core functions:
Extensive yet legible data frame summaries.
Frequency tables supporting weights and displaying proportions of valid and of total data, including cumulative proportions.
All common univariate descriptive stats applied to a single vector or to all numerical vectors contained in a data frame.
Cross-tabulations for pairs of categorical variables – accepting both numerical and character vectors, as well as factors. Choose between Total, Columns or Rows proportions, and optionally display chi-square statistic (with corresponding p-value), odds ratio, as well as risk ratio with flexible confidence intervals.
Choice of output formats:
Ideal when showing results in the R console.
Perfect for writing short papers or presentations.
A format very well integrated in RStudio – but will
work with any Web browser. Use the
view function to display
results directly in RStudio's viewer, or in your preferred Web
Maintainer: Dominic Comtois email@example.com
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.