Learn R Programming

ManyTests (version 1.2)

plot_pvalues: Plot transformed p-values against the expected values of the Renyi decomposition

Description

Plots -log(p) against the expected values of the Renyi decomposition (Cox, 2011).

Usage

plot_pvalues(p)

Arguments

p
A vector of p-values.

References

Cox, D. R. (2011). Discovery: a statistical perspective. Phystat Conference CERN.

See Also

local_slope

Examples

Run this code
# generate a vector of p-values
p <- runif(100, 0, 1)

plot_pvalues(p)

Run the code above in your browser using DataLab