Skip to content

kSamples

1.2-12Package record

K-Sample Rank Tests and their Combinations

10packages dependsuggested by 2
188.2Kdownloads / year
–test coverage
8/13flavors OK

Overview

About

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
Check messages
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'.

CRAN check page ↗

Slowest check: 2.3 min · r-devel-windows-x86_64
Status changes
  • NOTE8 OK, 5 NOTENow
  • NOTE11 OK, 2 NOTE2026-07-16
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.2-12
READMENoVignettesNoNEWSYes · does not mention 1.2-12Citation fileNoWebsitenot declared in DESCRIPTION
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

188.2K
CRAN downloads in the past year
Rank #1,113 · ~516/day · ~15.7K/mo
Daily download trend is not available in this view yet.
11.2K30 days
32.5K90 days
188.2K1 year
Compare downloads with other packages →
Also on1.9K r2u7 autocran7.6K conda_forge222 c2d4u

Dependencies

Declared dependencies
1 external dependency (excludes base and recommended)

Installing kSamples adds 1 package (1 with compiled code, 137 KB of source tarballs). Heaviest: SuppDists 137 KB.

Depends (1)
Imports (3)
methodsgraphicsstats
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
10direct
32indirect
Depends 1 · Imports 9
Suggested by 2
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

Datasets

People & History

People (2)
Author, Maintainer since 1.0 (2012)
Author
Releases (11)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 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
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • R
    R 3.2.0 released · 2015-04-16
  • R
    R 3.1.0 released · 2014-04-10
  • R
    R 3.0.0 released · 2013-04-03
  • 2.15.2Latest
    record
    2012-08-31 · current release · diff ↗
  • 1.2-12
    record
    2025-08-27 · diff ↗
Show 10 earlier eventsHide 10 earlier events
  • 1.2-10
    record
    2023-10-08 · diff ↗
  • 1.2-9
    record
    2019-05-20 · diff ↗
  • 1.2-8
    record
    2018-06-03 · diff ↗
  • 1.2-7
    record
    2017-08-13 · diff ↗
  • 1.2-6
    record
    2017-06-15 · diff ↗
  • 1.2-4
    record
    2016-06-10 · diff ↗
  • 1.2-3
    record
    2016-02-17 · diff ↗ ·
    added 4 exports
    djt, pjt, qjt, jt.test
  • 1.0.1
    record
    2015-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.0
    record
    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

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 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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for kSamples version 1.2-12 [Data set]. HJJB, LLC. Data release v2026-10-20. https://doi.org/10.5281/zenodo.21843040

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.

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