Learn R Programming

LearnNonparam (version 1.2.3)

KolmogorovSmirnov: Two-Sample Kolmogorov-Smirnov Test

Description

Performs two-sample Kolmogorov-Smirnov test on samples.

Arguments

Super classes

LearnNonparam::PermuTest -> LearnNonparam::TwoSampleTest -> KolmogorovSmirnov

Methods

Public methods

Inherited methods


Method new()

Create a new KolmogorovSmirnov object.

Usage

KolmogorovSmirnov$new(n_permu = 10000)

Arguments

n_permu

an integer indicating number of permutations for the permutation distribution. If set to zero (default) then all permutations are used.

Returns

A KolmogorovSmirnov object.

Examples

Run this code
pmt(
    "twosample.ks", n_permu = 0
)$test(Table2.8.1)$print()

Run the code above in your browser using DataLab