{
  "_id": "6a1ef2deb401979e73414cfe",
  "Type": "Package",
  "Package": "visStatistics",
  "Title": "Automated Selection and Visualisation of Statistical Hypothesis\nTests",
  "Version": "0.2.1",
  "Authors@R": "c(\nperson(\"Sabine\", \"Schilling\", , \"sabineschilling@gmx.ch\", role = c(\"cre\", \"aut\", \"cph\"),\ncomment = c(ORCID = \"0000-0002-8318-9421\", year = \"2026\")),\nperson(\"Peter\", \"Kauf\", , \"peter.kauf@zhaw.ch\", role = \"ctb\")\n)",
  "Author": "Sabine Schilling [cre, aut, cph] (ORCID:\n<https://orcid.org/0000-0002-8318-9421>, year: 2026), Peter\nKauf [ctb]",
  "Maintainer": "Sabine Schilling <sabineschilling@gmx.ch>",
  "Description": "Automated test selection, visualised. 'visStatistics'\nautomatically selects and visualises statistical hypothesis\ntests comparing two vectors, based on their class,\ndistribution, and sample size.  Visual outputs, including box\nplots, bar charts, regression lines with confidence bands,\nmosaic plots, residual plots, and Q-Q plots, are annotated with\nrelevant test statistics, assumption checks, and post-hoc\nanalyses where applicable.  The algorithmic workflow shifts\nattention from ad-hoc test selection to visual diagnostic\nassessment and statistical interpretation.  It is particularly\nsuited for server-side R applications, where end users interact\nsolely through a web interface to select data groups and\nreceive a complete visual statistical analysis automatically.\nThe same automation makes it useful in time-constrained\ncontexts such as statistical consulting, where it reduces\neffort spent on test selection and leaves more room for\ninterpretation.  The implemented tests cover the most\nfrequently applied inferential methods in biomedical research\n(Hayat et al. (2017) <doi:10.1371/journal.pone.0179032>).  The\ntest selection algorithm proceeds as follows: Input vectors of\nclass numeric or integer are considered numerical; those of\nclass factor are considered categorical; those of class ordered\nare considered ordinal. Assumptions of residual normality and\nhomogeneity of variances are considered met if the\ncorresponding test yields a p-value greater than the\nsignificance level alpha = 1 - conf.level.  (1) When the\nresponse is numerical and the predictor is categorical, a test\ncomparing central tendencies is selected. If every group\ncontains more than 50 observations, the sampling distribution\nof the group means is assumed approximately normal by the\ncentral limit theorem (Lumley et al. (2002)\n<doi:10.1146/annurev.publhealth.23.100901.140546>); otherwise,\nresidual normality is assessed using shapiro.test() applied to\nthe standardised residuals of lm(). If normality is not met,\nwilcox.test() is used when the predictor has two levels and\nkruskal.test() followed by pairwise.wilcox.test() otherwise. If\nnormality is met, levene.test() assesses variance homogeneity.\nFor two-level predictors, Student's t.test(var.equal = TRUE) is\napplied if variances are homogeneous and Welch's t.test()\notherwise. For predictors with more than two levels, aov()\nfollowed by TukeyHSD() is applied if variances are homogeneous,\nand oneway.test() followed by games.howell() otherwise.  (2)\nWhen both vectors are numerical, lm() is fitted by default\n(correlation = FALSE). If correlation = TRUE, Spearman rank\ncorrelation is performed.  (3) When the response is ordinal, it\nis converted to numeric ranks and the non-parametric path from\n(1) is followed (Wilcoxon or Kruskal-Wallis).  When both\nvariables are ordinal and correlation = TRUE, Kendall's tau_b\nis used instead.  (4) When both vectors are categorical,\nCochran's rule (Cochran (1954) <doi:10.2307/3001666>) is\napplied to test independence either by chisq.test() or\nfisher.test().",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/shhschilling/visStatistics,\nhttps://shhschilling.github.io/visStatistics/",
  "BugReports": "https://github.com/shhschilling/visStatistics/issues",
  "VignetteBuilder": "knitr",
  "BuildVignettes": "true",
  "Config/roxygen2/version": "8.0.0",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "Language": "en-GB",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-02 15:06:38 UTC",
    "User": "root"
  },
  "Config/pak/sysreqs": "libcairo2-dev",
  "Repository": "https://shhschilling.r-universe.dev",
  "Date/Publication": "2026-06-02 14:39:16 UTC",
  "RemoteUrl": "https://github.com/shhschilling/visstatistics",
  "RemoteRef": "HEAD",
  "RemoteSha": "12f486a62ad1c1819f18bb5edb82bce5a3f5c768",
  "MD5sum": "ed8b093732b84b59f907461e83c4de12",
  "_user": "shhschilling",
  "_type": "src",
  "_file": "visStatistics_0.2.1.tar.gz",
  "_fileid": "34d9b56bc98f93f96a53f93d31ade0df7d566a323298549acc7cb647647585fe",
  "_filesize": 8098244,
  "_sha256": "34d9b56bc98f93f96a53f93d31ade0df7d566a323298549acc7cb647647585fe",
  "_created": "2026-06-02T15:06:38.000Z",
  "_published": "2026-06-02T15:12:30.932Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79103868269,
      "time": 142,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7361735536"
    },
    {
      "job": 79103868008,
      "time": 132,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7361730661"
    },
    {
      "job": 79103868012,
      "time": 138,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7361808655"
    },
    {
      "job": 79103868001,
      "time": 127,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7361789009"
    },
    {
      "job": 79103139918,
      "time": 192,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7361666218"
    },
    {
      "job": 79103868053,
      "time": 115,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7361722379"
    },
    {
      "job": 79103868170,
      "time": 93,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "ERROR",
      "artifact": "7361712817"
    },
    {
      "job": 79103868146,
      "time": 105,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "ERROR",
      "artifact": "7361718444"
    },
    {
      "job": 79103868152,
      "time": 94,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7361712192"
    }
  ],
  "_buildurl": "https://github.com/r-universe/shhschilling/actions/runs/26828559214",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/shhschilling/visstatistics",
  "_commit": {
    "id": "12f486a62ad1c1819f18bb5edb82bce5a3f5c768",
    "author": "Sabine Schilling <shhschilling@users.noreply.github.com>",
    "committer": "Sabine Schilling <shhschilling@users.noreply.github.com>",
    "message": "before split disucssion/limitation\n",
    "time": 1780411156
  },
  "_maintainer": {
    "name": "Sabine Schilling",
    "email": "sabineschilling@gmx.ch",
    "login": "shhschilling",
    "orcid": "0000-0002-8318-9421",
    "description": "Trained theoretical physicist, turned computational biologist /data scientist/statistics lecturer",
    "uuid": 14010866
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "Cairo",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "grid",
      "role": "Imports"
    },
    {
      "package": "multcompView",
      "role": "Imports"
    },
    {
      "package": "nortest",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tools",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "vcd",
      "role": "Imports"
    },
    {
      "package": "bookdown",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "shhschilling",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-23",
      "n": 14
    },
    {
      "week": "2025-24",
      "n": 3
    },
    {
      "week": "2025-25",
      "n": 6
    },
    {
      "week": "2025-26",
      "n": 9
    },
    {
      "week": "2025-27",
      "n": 1
    },
    {
      "week": "2025-52",
      "n": 5
    },
    {
      "week": "2026-19",
      "n": 19
    },
    {
      "week": "2026-20",
      "n": 33
    },
    {
      "week": "2026-21",
      "n": 19
    },
    {
      "week": "2026-22",
      "n": 16
    },
    {
      "week": "2026-23",
      "n": 3
    }
  ],
  "_tags": [
    {
      "name": "v0.2.0",
      "date": "2026-05-10"
    },
    {
      "name": "cran-0.2.0",
      "date": "2026-05-12"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "shhschilling",
      "count": 407,
      "uuid": 14010866
    }
  ],
  "_userbio": {
    "uuid": 14010866,
    "type": "user",
    "name": "Sabine Schilling",
    "description": "Trained theoretical physicist, turned computational biologist /data scientist/statistics lecturer"
  },
  "_downloads": {
    "count": 666,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/visStatistics"
  },
  "_devurl": "https://github.com/shhschilling/visstatistics",
  "_pkgdown": "https://shhschilling.github.io/visStatistics/",
  "_searchresults": 26,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/visStatistics.html",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/shhschilling/visstatistics",
  "_realowner": "shhschilling",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.1",
      "date": "2021-02-12"
    },
    {
      "version": "0.1.2",
      "date": "2025-05-12"
    },
    {
      "version": "0.1.3",
      "date": "2025-05-13"
    },
    {
      "version": "0.1.5",
      "date": "2025-05-27"
    },
    {
      "version": "0.1.7",
      "date": "2025-05-28"
    },
    {
      "version": "0.2.0",
      "date": "2026-05-12"
    }
  ],
  "_exports": [
    "bp.test",
    "counts_to_cases",
    "effect_size",
    "games.howell",
    "levene.test",
    "openGraphCairo",
    "saveGraphVisstat",
    "vis_lm_assumptions",
    "visstat",
    "visstat_core"
  ],
  "_help": [
    {
      "page": "counts_to_cases",
      "title": "Convert data frame of counts to dataframe of cases. The data frame must contain a column with frequencies (counts) as generated by as.data.frame from a contingency table",
      "topics": [
        "counts_to_cases"
      ]
    },
    {
      "page": "effect_size",
      "title": "Compute an effect-size estimate for a visstat result",
      "topics": [
        "effect_size"
      ]
    },
    {
      "page": "openGraphCairo",
      "title": "Cairo wrapper function with plot capture capability",
      "topics": [
        "openGraphCairo"
      ]
    },
    {
      "page": "saveGraphVisstat",
      "title": "Saves Graphical Output with plot capture capability",
      "topics": [
        "saveGraphVisstat"
      ]
    },
    {
      "page": "visstat",
      "title": "Wrapper for visstat_core Allowing Three Different Input Styles",
      "topics": [
        "visstat"
      ]
    }
  ],
  "_readme": "https://github.com/shhschilling/visstatistics/raw/HEAD/README.md",
  "_rundeps": [
    "Cairo",
    "colorspace",
    "lattice",
    "lmtest",
    "MASS",
    "multcompView",
    "nortest",
    "vcd",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "visStatistics.Rmd",
      "filename": "visStatistics.html",
      "title": "visStatistics: automated test selection, visualised",
      "author": "Sabine Schilling",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Abstract",
        "Introduction",
        "Purpose of the vignette",
        "Package overview",
        "Decision logic",
        "Top-level routing by input class",
        "General linear model framework",
        "Model definition",
        "Residuals",
        "Standardised residuals",
        "General linear model assumption tests",
        "Visualisation of the assumptions of the general linear model",
        "Route-specific decision rules",
        "Route 1: Numeric response, categorical predictor",
        "Post-hoc tests",
        "Route 2: Ordered response",
        "Route 3: Numeric response, numeric predictor",
        "Route 4: Two unordered factors",
        "Optional rank-correlation mode",
        "Reported p-values and effect sizes",
        "The visstat methods",
        "Saved graphics",
        "Usage and Examples",
        "Route 1: Numeric response, categorical predictor",
        "Student's t-test and Fisher's one-way ANOVA",
        "Student's t-test",
        "Welch's t-test and Welch's one-way ANOVA",
        "Welch's t-test",
        "Wilcoxon rank-sum test and Kruskal--Wallis test",
        "Wilcoxon rank-sum test",
        "Route 2: Ordered response",
        "Ordered response, categorical factor",
        "Wilcoxon rank-sum test with ordered response",
        "Kruskal--Wallis test with ordered response",
        "Route 3: Numeric response, numeric predictor",
        "Linear regression",
        "Model exploration outside visstat()",
        "Plotting the data with Gamma model overlay",
        "Generate predictions for the overlay",
        "Route 4: Two unordered factors",
        "Pearson's $\\chi^2$ test",
        "Fisher's exact test",
        "Spearman rank correlation with correlation = TRUE",
        "Discussion",
        "Limitations",
        "Conclusion",
        "References"
      ],
      "created": "2021-09-03 11:03:51",
      "modified": "2026-06-02 14:24:22",
      "commits": 167
    }
  ],
  "_score": 5.155336037465062,
  "_indexed": true,
  "_nocasepkg": "visstatistics",
  "_universes": [
    "shhschilling"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-06-02T15:08:50.000Z",
      "distro": "noble",
      "commit": "12f486a62ad1c1819f18bb5edb82bce5a3f5c768",
      "fileid": "30da0d090efc4f3eda43400538316017acb28d3f2615c81e2e6b0160ca13e239",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/shhschilling/actions/runs/26828559214"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.1",
      "date": "2026-06-02T15:08:43.000Z",
      "distro": "noble",
      "commit": "12f486a62ad1c1819f18bb5edb82bce5a3f5c768",
      "fileid": "76bc372bb39ccf87df956ac58432b5802293a3f6ba0a4f6870e3f89bc02ac896",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/shhschilling/actions/runs/26828559214"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.1",
      "date": "2026-06-02T15:11:22.000Z",
      "commit": "12f486a62ad1c1819f18bb5edb82bce5a3f5c768",
      "fileid": "a5fa98d79cc65814df3f7f2c8f994bb0552eea9ef718f51eda26dd6e0de56718",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/shhschilling/actions/runs/26828559214"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.1",
      "date": "2026-06-02T15:10:45.000Z",
      "commit": "12f486a62ad1c1819f18bb5edb82bce5a3f5c768",
      "fileid": "319552c3e09be21cc375d3391b7c7cce4c97f3f11c3c4516b35cc69fc8bb0f5f",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/shhschilling/actions/runs/26828559214"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.1",
      "date": "2026-06-02T15:08:50.000Z",
      "commit": "12f486a62ad1c1819f18bb5edb82bce5a3f5c768",
      "fileid": "a14be5e52255eb422f5f898c4cb6e0d67944bc90edb54ef7ee7c265a46b27329",
      "status": "success",
      "buildurl": "https://github.com/r-universe/shhschilling/actions/runs/26828559214"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-06-02T15:07:53.000Z",
      "commit": "12f486a62ad1c1819f18bb5edb82bce5a3f5c768",
      "fileid": "4438d36f23bdf309994737e3acffca75425df393b0346861784f6988aecb7bca",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/shhschilling/actions/runs/26828559214"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-06-02T15:08:03.000Z",
      "commit": "12f486a62ad1c1819f18bb5edb82bce5a3f5c768",
      "fileid": "d149222b03d5107449ee3f8f87cce9013881483a8fe32dc9cf061a6df226480c",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/shhschilling/actions/runs/26828559214"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.1",
      "date": "2026-06-02T15:07:52.000Z",
      "commit": "12f486a62ad1c1819f18bb5edb82bce5a3f5c768",
      "fileid": "ff2f2b002c412b8666cf17463e34b8ee3820244e48d1b388af68709da99484b3",
      "status": "failure",
      "check": "ERROR",
      "buildurl": "https://github.com/r-universe/shhschilling/actions/runs/26828559214"
    }
  ]
}