run.p: Run Test Probability

View source: R/nm_tests.R

run.pR Documentation

Run Test Probability

Description

Calculates P(Run count <= r | m, n) for the runs test.

Usage

run.p(m, n, r)

Arguments

m

count of fewer species (minimum value = 0)

n

count of more frequent species (minimum value = 1)

r

count of runs (minimum value = 1)

Value

numeric, probability


nmw documentation built on May 8, 2026, 9:07 a.m.