Skip to content

kSamples

1.2-12

K-Sample Rank Tests and their Combinations

13packages depend
215.6Kdownloads / year
test coverage
8/13checks pass

Overview

About
Maintained by Fritz ScholzFirst published 2012-08-3111 releasesCRAN page ↗

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

CRAN checks
5NOTE8OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
  • NOTE r-devel-linux-x86_64-fedora-clang
  • NOTE r-devel-linux-x86_64-fedora-gcc
  • NOTE r-devel-windows-x86_64
Slowest check: 2.3 min · r-devel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
4
Dependencies · direct
Check history
  • NOTE2026-07-16
    11 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
92%
References docs
73%

Downloads

215.6K
CRAN downloads in the past year
Rank #1,019 · ~591/day · ~18K/mo
Daily download trend is not available in this view yet.
10.5K30 days
40.5K90 days
215.6K1 year
Compare downloads with other packages →
Also on1.3K r2u12 autocran7.6K conda_forge135 c2d4u

Dependencies

Declared dependencies
1 external dependency (excludes base and recommended)
Depends (1)
Imports (3)
methodsgraphicsstats
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none

Code & Tests

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Author
Package Timeline

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

  • R
    R 4.6.0 released · 2026-04-24
  • 1.2-12Latest
    2025-08-27 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.2-10
    2023-10-08 · diff ↗
  • 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
  • R
    R 4.0.0 released · 2020-04-24
  • 1.2-9
    2019-05-20 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 1.2-8
    2018-06-03 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 1.2-7
    2017-08-13 · diff ↗
  • 1.2-6
    2017-06-15 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
Show 10 earlier events
  • 1.2-4
    2016-06-10 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • 1.2-3
    2016-02-17 · diff ↗
  • R
    R 3.2.0 released · 2015-04-16
  • 1.0.1
    2015-02-10 · diff ↗
  • R
    R 3.1.0 released · 2014-04-10
  • R
    R 3.0.0 released · 2013-04-03
  • 2.15.2
    2012-08-31 · diff ↗
  • 1.0
    2012-08-31
  • R
    R 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
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("kSamples")
Scholz, F., & Zhu, A. (2025). kSamples: K-Sample Rank Tests and their Combinations (Version 1.2-12) [Computer software]. https://doi.org/10.32614/CRAN.package.kSamples

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 kSamples version 1.2-12 [Data set]. HJJB, LLC. Data release v2026-08-15. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-15, 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