summarytools-package: Tools to Quickly and Neatly Summarize Data

Description Details Author(s) See Also


summarytools provides users with functions to 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 should 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 for single vectors or for all numerical vectors in a data frame.


Cross-tabulations for two categorical vectors or factors. Choose between Total, Columns or Rows proportions.

Output formats are:

plain ascii

Ideal when looking at results in the console.


Ideal when writing short papers or presentations.


This format is well integrated in RStudio (but will work with any browser). Use the view() function to see results appear directly in RStudio's Viewer or in your default Web Browser.


Maintainer: Dominic Comtois

See Also

Useful links:

summarytools documentation built on Dec. 15, 2020, 5:17 p.m.