Learn R Programming

Kmisc (version 0.5.0)

pp_plot: Construct a Probability-Probability Plot from a Set of P-Values

Description

This function constructs a probability-probability plot as based on a vector of p-values.

Usage

pp_plot(x, ...)

Arguments

x
A vector of p-values; numbers within the range 0 to 1.
...
Optional arguments passed to xyplot. Note that a custom panel function is used for generating the plot and hence you shouldn't try to generate your own panel function.

Examples

Run this code
pp_plot( runif(100), main="PP-Plot of 100 random uniforms" )

Run the code above in your browser using DataLab