kstest: Two-sided Kolmogorov–Smirnov test

View source: R/kstest.R

kstestR Documentation

Two-sided Kolmogorov–Smirnov test

Description

Two-sided Kolmogorov–Smirnov test

Usage

kstest(
  n.x,
  y,
  weights = NULL,
  weights.pwr = 1,
  absolute = FALSE,
  plotting = FALSE
)

Arguments

n.x

The length of a ranked list

y

A vector of positions in the ranked list

weights

Weights for weighted score (Subramanian et al.)

weights.pwr

Exponent for weights (Subramanian et al.)

absolute

Takes max-min score rather than the max deviation from null

plotting

Use true to generate plot

Value

A list of data and plots


montilab/bieulergy documentation built on March 25, 2022, 3:40 p.m.