ksStat {GGMridge}R 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
 

[Package GGMridge version 1.4 Index]