Learn R Programming

GGMridge (version 1.4)

ksStat: The Kolmogorov-Smirnov Statistic for p-Values

Description

Calculates the Kolmogorov-Smirnov statistic for p-values

Usage

ksStat(p)

Value

Kolmogorov-Smirnov statistic

Arguments

p

A numeric vector with p-values.

Author

Min Jin Ha

Examples

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

Run the code above in your browser using DataLab