ksStat: The Kolmogorov-Smirnov Statistic for p-Values

View source: R/ksStat.R

ksStatR Documentation

The Kolmogorov-Smirnov Statistic for p-Values

Description

Calculates the Kolmogorov-Smirnov statistic for p-values

Usage

ksStat(p)

Arguments

p

A numeric vector with p-values.

Value

Kolmogorov-Smirnov statistic

Author(s)

Min Jin Ha

Examples

 p <- stats::runif(100)
 ksStat(p = p)
 ks.test(p, y = "punif") # compare with ks.test
 

GGMridge documentation built on Nov. 25, 2023, 1:08 a.m.

Related to ksStat in GGMridge...