plot.hint.test: plot.hint.test

Description Usage Arguments Details Value

View source: R/hint_plotting.R

Description

This function visualises the results of a Hypergeometric Intersection test.

Usage

1
2
## S3 method for class 'hint.test'
plot(x, ...)

Arguments

x

An object of class 'hint.test'.

...

Additional arguments to be passed to 'plot'.

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.

Value

Plots to the current device.


hint documentation built on Feb. 2, 2022, 5:10 p.m.