The runs test is used to infer whether two states, e.g., > and < some threshold are mutually independent along a traverse. In applied geochemical terms, it tests for pattern coherence. If the pattern of runs is not coherent at the scale of the sampling it will be difficult to identify any spatially consistent dispersion processes.
Usage
gx.runs(n1, n2, u)
Arguments
n1
the number of < threshold sites along a traverse.
n2
the number of > threshold sites along a traverse.
u
the number of runs of > and < threshold sites along the traverse.