# plotp: Q-Q plot of p-values In metap: Meta-Analysis of Significance Values

 plotp R Documentation

## Q-Q plot of p-values

### Description

Produces a Q–Q plot of the p-values supplied\loadmathjax

### Usage

plotp(pvals, plotversion = "qqconf", ...)


### Arguments

 pvals A vector of \mjseqnp–values plotversion Whether to use the qqconf version or the original ... Other parameters to pass through to qqplot and qqline

### Details

After eliminating out of range \mjseqnp–values and missing values produces a Q–Q plot. If the package qqconf is available then the plot uses that package's function and as well as the Q–Q plot produces a confidence region. Parameters can be passed to qq_conf_plot to exert further control over the plot.

If qqconf is unavailable or plotversion is set other than "qqconf" then the plot uses the function from base graphics. The line shown is through the quantiles (by default the 0.25 and 0.75).

### Value

Invisibly returns a list consisting of

 validp The valid \mjseqnp–values

### Author(s)

Michael Dewey

qqplot and qqline for the original plot and qq_conf_plot for the new version.
data(dat.metap)
cholest <- dat.metap$cholest$p