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


anfederico/bieulergy documentation built on Feb. 5, 2025, 4:20 p.m.