Learn R Programming

summarytools (version 0.9.2)

summarytools-package: Extensive Summarizing Tools With Flexible Output

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 univariate statistics can be produced in a straightforward manner. Users with little to no prior R programming experience but who are familiar with the concepts (and maybe with some procedures coming from other software packages) should find their way easily.

Arguments

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<U+2019>s Viewer or in your default Web Browser.

See Also

Useful links: