Last data update: 2014.03.03

R: make a QQ plot of p-values.
qqpvalR Documentation

make a QQ plot of p-values.

Description

This function makes QQ-plots for p-values, by default on a -log10 scale. It also shows pointwise-95% confidence bounds for the order statistics of a Uniform(0,1) distribution.

Usage

qqpval(p, cone = TRUE, log = TRUE, add = FALSE, col=1, pch=1,...)

Arguments

p

p-values

cone

Logical. Whether or not to print 95% confidence bounds for Uniform(0,1) order statistics

log

Logical. Whether or not to plot p-values on -log10 scale

add

logical. whether or not to add to an existing plot

...

other options to be passed to ‘plot’

col,pch

color and point type. See plot

Author(s)

Arend Voorman

Examples


p <- runif(1000)
qqpval(p)



Results