Skip to content

visStatistics

0.3.0

Automated Selection and Visualisation of Statistical Hypothesis Tests

0packages depend
6.8Kdownloads / year
81.6%test coverage
10/13checks pass

Overview

About
Maintained by Sabine SchillingFirst published 2021-02-127 releasesCRAN page ↗GitHub ↗

Automated test selection, visualised. 'visStatistics' automatically selects and visualises statistical hypothesis tests comparing two vectors, based on their class and distribution. Visual outputs, including box plots, bar charts, regression lines with confidence bands, mosaic plots, residual plots, and Q-Q plots, are annotated with relevant test statistics, assumption checks, and post-hoc analyses where applicable. The algorithmic workflow shifts attention from ad-hoc test selection to visual diagnostic assessment and statistical interpretation. It is particularly suited for server-side R applications, where end users interact solely through a web interface to select data groups and receive a complete visual statistical analysis automatically. The same automation makes it useful in time-constrained contexts such as statistical consulting, where it reduces effort spent on test selection and leaves more room for interpretation. The implemented tests cover the most frequently applied inferential methods in biomedical research (Hayat et al. (2017) doi:10.1371/journal.pone.0179032). The test selection algorithm proceeds as follows: Input vectors of class numeric or integer are considered numerical; those of class factor are considered categorical; those of class ordered are considered ordinal. Assumptions of residual normality and homogeneity of variances are considered met if the corresponding test yields a p-value greater than the significance level alpha = 1 - conf.level. (1) When the response is numerical and the predictor is categorical, a test comparing central tendencies is selected. In the default setting (group_test = NULL), residual normality is assessed at every group size using shapiro.test() applied to the standardised residuals of lm(). If normality is not met, wilcox.test() is used when the predictor has two levels and kruskal.test() followed by pairwise.wilcox.test() otherwise. If normality is met, levene.test() assesses variance homogeneity. For two-level predictors, Student's t.test(var.equal = TRUE) is applied if variances are homogeneous and Welch's t.test() otherwise. For predictors with more than two levels, aov() followed by TukeyHSD() is applied if variances are homogeneous, and oneway.test() followed by games.howell() otherwise. Setting group_test to "welch" or "rank" bypasses these assumption tests and fixes the analysis to Welch-type or to rank-based tests, respectively. (2) When both vectors are numerical, lm() is fitted by default (correlation = FALSE). If correlation = TRUE, Spearman rank correlation is performed. (3) When the response is ordinal, it is converted to numeric ranks and the non-parametric path from (1) is followed (Wilcoxon or Kruskal-Wallis). When both variables are ordinal and correlation = TRUE, Kendall's tau_b is used instead. (4) When both vectors are categorical, Cochran's rule (Cochran (1954) doi:10.2307/3001666) is applied to test independence either by chisq.test() or fisher.test().

Install

Health

CRAN checks
3ERROR10OK
Failing flavors
  • ERROR r-oldrel-macos-arm64
  • ERROR r-oldrel-macos-x86_64
  • ERROR r-oldrel-windows-x86_64
Slowest check: 16.0 min · r-release-macos-x86_64
Code health
Yes
Tests · ratio 0.86
81.6%
Coverage · measured lines
100%
Documentation · exports
10
Dependencies · direct
Check history
  • ERROR2026-07-28
    11 OK · 0 NOTE · 0 WARNING · 2 ERROR · 0 FAILURE
  • OK2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 1 FAILURE
  • WARNING2026-06-07
    12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-03-10
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 1,334 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
21%

Downloads

6.8K
CRAN downloads in the past year
Rank #5,809 · ~19/day · ~565/mo
Daily download trend is not available in this view yet.
27630 days
1.4K90 days
6.8K1 year
Compare downloads with other packages →
Also on195 r2u17 autocran

Repository

Repository
0Stars
0Forks
1Open issues
0Open PRs
0Releases
Last activity 2026-08-13

Repository practices

Upstream repositoryBeta

5 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/shhschilling/visstatistics on 2026-08-16.

Continuous integration (1)
GitHub Actions
CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
Lint, format, editor (2)
lintrRStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Development tooling

AI-assisted toolingBeta

Uses AI-assisted development tooling (declared in repo)

Earliest detected marker: claude on 2026-05-04

claude

Most recent: claude on 2026-05-04

Evidence
  • claude: on 2026-05-04 · evidence B, D
How this is detected·Detection ruleset v2 (updated 2026-07-29)

Dependencies

Declared dependencies
9 external dependencies (excludes base and recommended)
Depends (0)
none
Imports (10)
CairographicsgrDevicesgridmultcompViewnorteststatstoolsutilsvcd
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (2)
Maintainer (1)
Maintainer, Author, Copyright holder
Authors (1)
Maintainer, Author, Copyright holder
Contributors (1)
Contributor
Copyright holders (1)
Maintainer, Author, Copyright holder
Package Timeline

7 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 0.3.0Latest
    2026-07-28 · current release · diff ↗
  • 0.2.0
    2026-05-12 · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.7
    2025-05-28 · diff ↗
  • 0.1.5
    2025-05-24 · diff ↗
  • 0.1.3
    2025-05-13 · diff ↗
  • 0.1.2
    2025-05-12 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 0.1.1
    2021-02-12
  • R
    R 4.0.0 released · 2020-04-24

Package metadata

First published
2021-02-12
Total releases
7 / 5 yrs
License
MIT + file LICENSE OSI
Download size
8.4 MB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("visStatistics")
Schilling, S., & Kauf, P. (2026). visStatistics: Automated Selection and Visualisation of Statistical Hypothesis Tests (Version 0.3.0) [Computer software]. https://doi.org/10.32614/CRAN.package.visStatistics

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for visStatistics version 0.3.0 [Data set]. HJJB, LLC. Data release v2026-08-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy