Learn R Programming

factorH (version 0.5.0)

Multifactor Nonparametric Rank-Based ANOVA with Post Hoc Tests

Description

Multifactor nonparametric analysis of variance based on ranks. Builds on the Kruskal-Wallis H test and its 2x2 Scheirer-Ray-Hare extension to handle any factorial designs. Provides effect sizes, Dunn-Bonferroni pairwise-comparison matrices, and simple-effects analyses. Tailored for psychology and the social sciences, with beginner-friendly R syntax and outputs that can be dropped into journal reports. Includes helpers to export tab-separated results and compact tables of descriptive statistics (to APA-style reports).

Copy Link

Version

Install

install.packages('factorH')

Monthly Downloads

157

Version

0.5.0

License

MIT + file LICENSE

Maintainer

Tomasz Rak

Last Published

November 1st, 2025

Functions in factorH (0.5.0)

residuals.normality.datatable

Global residual normality (Shapiro–Wilk) from ANOVA models
residuals.cellwise.normality.datatable

Cellwise residual normality (Shapiro–Wilk) from ANOVA models
write.srh.kway.full.tsv

Write full SRH pipeline result to a TSV file
srh.simple.posthocs

Simple-effects post hoc tables for all possible effects (within-scope)
srh.posthocs

Dunn post hoc tables (p.adj only) for all effects in a factorial design
srh.simple.posthoc

Simple-effects post hoc (Dunn) with Bonferroni adjustment
srh.posthoc

Dunn post hoc in a symmetric matrix form (one specified effect)
srh.kway.full

Full pipeline: rank-based k-way ANOVA + descriptives + post hocs
srh.kway

K-way SRH on ranks with tie-corrected p-values and rank-based effect sizes
srh.effsize

SRH with effect sizes for two-factor designs
factorH_dataset

Datasets in factorH
balance.chisq.datatable

Count-balance chi-square diagnostics across factors
factorH

factorH: Multifactor rank-based ANOVA utilities
normality.datatable

Raw normality per subgroup (Shapiro–Wilk) across factor combinations
levene.plan.datatable

Levene/Brown-Forsythe test for full-plan cells
nonpar.datatable

Compact descriptive tables (APA-style) with global rank means
factorH_reference

factorH functions reference
factorH_syntax

Syntax and formula patterns
plan.diagnostics

Plan-level diagnostics for ANOVA/rank-based workflows
mimicry

Mimicry dataset