Learn R Programming

hint (version 0.1-3)

plot.hint.test: plot.hint.test

Description

This function visualises the results of a Hypergeometric Intersection test.

Usage

# S3 method for hint.test
plot(x, ...)

Arguments

x

An object of class `hint.test`.

...

Additional arguments to be passed to `plot`.

Value

Plots to the current device.

Details

Plots the relevant Hypergeometric Intersection distribution as a segment plot, and highlights the region where the observed statistic falls, i.e. the region from which the probability is computed (two.sided tests are visualised in one tail, the one with the smallest density). This can be especially useful for pedagogical purposes.