Tidy Statistical Summaries for Exploratory Data Analysis

Provides a tidy set of functions for summarising data, including descriptive statistics, frequency tables with normality testing, and group-wise significance testing. Designed for fast, readable, and easy exploration of both numeric and categorical data.


tidySummaries tidySummaries logo

tidyverse-friendly License:MIT Lifecycle:experimental CRANstatus Codecov testcoverage

Tidy statistical summaries made simple

tidySummaries provides a modern and extensible set of functions for descriptive statistics, frequency analysis, and significance testing — all with tidy output.

It’s ideal for both numeric and categorical exploratory data analysis, supporting group comparisons, normality checks, console coloring, and more.


Features

  • Tidy descriptive statistics
    summarise_statistics() computes mean, median, standard deviation, variance, skewness, kurtosis, IQR, MAD, and CV in a single tidy tibble.

  • Frequency tables
    summarise_frequency() summarizes categorical variables with frequency counts, proportions, or percentages.

  • Normality and group significance testing
    Automatically perform Shapiro-Wilk tests for normality, plus t-tests, Wilcoxon tests, ANOVA, or Kruskal-Wallis tests for group comparisons.

  • Grouped summaries
    summarise_group_stats() groups data by one or more variables and summarizes selected numeric columns flexibly.

  • Correlation analysis
    summarise_correlation() computes pairwise correlations (Pearson, Spearman, Kendall) and highlights significant results.

  • Boxplot statistics with outlier detection
    summarise_boxplot_stats() returns min, Q1, median, Q3, max, range, IQR, and detected outliers for numeric data.

  • Colored console output for significance
    Statistically significant results are automatically highlighted in red for easy identification.

  • Support for vectors, matrices, and data frames
    Functions handle vectors, matrices, tibbles, and grouped data frames smoothly.

  • Tidyverse-friendly design Pipeable and fully compatible with tidyverse workflows. All outputs are clean tibbles ready for further analysis or visualization.


Installation

You can install the development version from GitHub:

```r # install.packages(“devtools”) devtools::install_github(“kleanthisk10/tidySummaries”)

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("tidySummaries")

0.1.0 by Kleanthis Koupidis, a year ago


https://github.com/kleanthisk10/tidySummaries


Report a bug at https://github.com/kleanthisk10/tidySummaries/issues


Browse source code at https://github.com/cran/tidySummaries


Authors: Kleanthis Koupidis [aut, cre] , Nikolaos Koupidis [aut]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports magrittr, tidyr, dplyr, tibble, purrr, stats, crayon, rlang

Suggests ggplot2, testthat, knitr, rmarkdown


See at CRAN