| qqunif | R Documentation | 
Plot Quantile-Quantile Plot of p-values against uniform distribution.
qqunif(
  x,
  outfn = NULL,
  conf.int = 0.95,
  plot.width = 5,
  plot.height = 5,
  thin = TRUE,
  thin.n = 500,
  zero.pval = "replace"
)
| x | a numeric vector of p-values. All values should be between 0 and 1. | 
| outfn | a character. File name to save the QQ Plot. If  | 
| conf.int | a numeric between 0 and 1. Confidence band to draw around reference line. Set to  | 
| plot.width | a numeric. Plot width in inches. | 
| plot.height | a numeric. Plot height in inches. | 
| thin | a logical. Reduce number of data points when they are cluttered? | 
| thin.n | an integer. Number of max points per horizontal partitions of the plot. Defaults to 500. | 
| zero.pval | a character. Determine how to treat 0 pvals. "replace" will replace the p-value of zero with the non-zero minimum. "remove" will remove the p-value of zero. | 
a ggplot object
x <- rbeta(1000, 1, 1)
qqunif(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.