qqunif {gap} | R Documentation |
This function produces Q-Q plot for a random variable following uniform distribution using log-scale.
qqunif(u,logscale=TRUE,base=10,...)
u |
a vector of uniformly distributed random variables |
logscale |
to use logscale |
base |
the base of the log function |
... |
other options as appropriae for the qqplot function |
The returned value is a list with components of a qqplot:
x |
-log(expected value for uniform order statistics) |
y |
-log(observed value) |
Davison AC. Statistical Models. Cambridge University Press 2003.
Jing Hua Zhao
## Not run: p <- runif(100) r <- qqunif(p) ## End(Not run)