summarytools-package: Tools to Quickly and Neatly Summarize Data

Description Details Author(s) See Also

Description

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.

Details

These are the four core functions:

dfSummary

Extensive yet legible data frame summaries.

freq

Frequency tables supporting weights and displaying proportions of valid and of total data, including cumulative proportions.

descr

All common univariate descriptive stats for single vectors or for all numerical vectors in a data frame.

ctable

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.

rmarkdown

Ideal when writing short papers or presentations.

html

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.

Author(s)

Maintainer: Dominic Comtois [email protected]

See Also

Useful links:


summarytools documentation built on Feb. 11, 2020, 1:06 a.m.