R offer many tools to analyse the univariate or bivariate distribution of series. This includes table and prop.table on base R, and group_by/summarise and count in dplyr. However, these functions are somehow frustrating as some very common tasks, like adding a total or computing relative frequencies or percentage and not counts are not straightforward. Moreover, to our knowledge, R offer weak support for numerical series for which the numerical value is not known at the individual level, but only the fact that this value belongs to a certain class. descstat is intended to provide user-friendly tools to perform these kind of operations. More specifically, three kind of tables can be constructed:

These function are writen in the tidyverse style, which means that the pipe operator can be used and that the series can be provided without quotes.

Try the descstat package in your browser

Any scripts or data that you put into this service are public.

descstat documentation built on Feb. 17, 2021, 5:07 p.m.