qqunif | R Documentation |
qqunif
produces a QQ plot of the values in ps
against the
theoretical quantiles of the uniform distribution.
qqunif(
ps,
log = "xy",
pch = 20,
xlab = "theoretical quantiles",
ylab = "sample quantiles",
plot.it = TRUE,
...
)
ps |
|
log |
|
pch |
Point symbol, see |
xlab |
Label for the x axis. |
ylab |
Label for the y axis. |
plot.it |
|
... |
Graphical parameters forwarded to |
This function can e.g. be used for comparing p-values against the uniform distribution. The log scale of the x and y axes allow a closer look at low p-values.
This function is a modified version of the examples in the
qqnorm
documentation page.
A list of x
and y coordinates, as in qqplot
.
qqunif(runif(100))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.