R/plot_pvalues.R

Defines functions plot_pvalues

Documented in plot_pvalues

plot_pvalues <-
function(p) {
	n <- length(p)
	o <- ordered_values(n)
	plot(o, -log(p[order(p, decreasing = TRUE)]), xlab = "Expected values", ylab = "-log(p)")
	}

Try the ManyTests package in your browser

Any scripts or data that you put into this service are public.

ManyTests documentation built on May 1, 2019, 10:16 p.m.