Learn R Programming

gofMC (version 1.1.2)

KS_Dp: KS_Dp

Description

Calculates the one-sided KS statistic given vectors for x and y

Usage

KS_Dp(x, y)

Arguments

x
a vector or matrix of real numbers
y
a vector or matrix of real numbers

Value

a vector of numbers with length equal to the number of trials (N)

Examples

Run this code
KS_Dp(c(1,2,3,4,5),c(1,2,3,4,4))
KS_Dp(matrix(runif(100),ncol=7),matrix(runif(100),ncol=7))

Run the code above in your browser using DataLab