sumvar

The sumvar package quickly explores continuous, date and categorical variables. sumvar brings the ease and simplicity of the sum and tab commands from Stata to R.

Installation

Install from CRAN:

install.packages("sumvar")

Or install the development version from GitHub:

# install.packages("pak")
pak::pak("alstockdale/sumvar")

Functions

Both dist_sum() and tab() include options for frequentist hypothesis tests. See the function help pages for details.

All functions accept the %>% pipe from a tibble or data frame and return results as a tibble, so outputs can be saved and further manipulated:

summary <- df %>% dist_sum(var)