K-Sample Rank Tests and their Combinations
Overview
Compares k samples using the Anderson-Darling test, Kruskal-Wallis type tests with different rank score criteria, Steel's multiple comparison test, and the Jonckheere-Terpstra (JT) test. It computes asymptotic, simulated or (limited) exact P-values, all valid under randomization, with or without ties, or conditionally under random sampling from populations, given the observed tie pattern. Except for Steel's test and the JT test it also combines these tests across several blocks of samples. Also analyzed are 2 x t contingency tables and their blocked combinations using the Kruskal-Wallis criterion. Steel's test is inverted to provide simultaneous confidence bounds for shift parameters. A plotting function compares tail probabilities obtained under asymptotic approximation with those obtained via simulation or exact calculations.
Install
Health
NOTER code for possible problemsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64
Found calls to structure() using deprecated special names: kSamples/R/ad.pval.R (.Dim: 2, .Dimnames: 2) '.Dim' should be changed to 'dim'. '.Dimnames' should be changed to 'dimnames'.
- NOTE8 OK, 5 NOTENow
- NOTE11 OK, 2 NOTE2026-07-16
- OK14 OK2026-03-10
Documentation
- Help pages
- 15includes a package overview page
- Examples that run
- 100%14 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 92%
- Help pages citing references
- 73%
Downloads
Dependencies
Installing kSamples adds 1 package (1 with compiled code, 137 KB of source tarballs). Heaviest: SuppDists 137 KB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- RR 3.3.0 released · 2016-05-03
- RR 3.2.0 released · 2015-04-16
- RR 3.1.0 released · 2014-04-10
- RR 3.0.0 released · 2013-04-03
- 2.15.2Latest
- 1.2-122025-08-27 · diff ↗
Show 10 earlier eventsHide 10 earlier events
- 1.2-102023-10-08 · diff ↗
- 1.2-92019-05-20 · diff ↗
- 1.2-82018-06-03 · diff ↗
- 1.2-72017-08-13 · diff ↗
- 1.2-62017-06-15 · diff ↗
- 1.2-42016-06-10 · diff ↗
- 1.2-3
- 1.0.12015-02-10 · diff ↗ ·
removed 1 export
pattern:^[[:alpha:]]+added 11 exports
ad.pval, ad.test, ad.test.combined, contingency2xt, contingency2xt.comb, conv, pp.kSamples, qn.test, qn.test.combined, Steel.test, SteelConfInt - 1.02012-08-31
- RR 2.15.0 released · 2012-03-30
Package metadata
- First published
- 2012-08-31
- Total releases
- 11 / 14 yrs
- License
- GPL (>= 2) OSI
- Bundled data
- 1.9 KB / 1 file
- Download size
- 74 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("kSamples")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-20, which the citation names so these numbers can be found later. More on citing and the projects behind them.