qqunif {gap}R Documentation

Q-Q plot for uniformly distributed random variable

Description

This function produces Q-Q plot for a random variable following uniform distribution using log-scale.

Usage

qqunif(u,logscale=TRUE,base=10,...)

Arguments

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

Value

The returned value is a list with components of a qqplot:

x -log(expected value for uniform order statistics)
y -log(observed value)

References

Davison AC. Statistical Models. Cambridge University Press 2003.

Author(s)

Jing Hua Zhao

See Also

qqpval

Examples

## Not run: 
p <- runif(100)
r <- qqunif(p)
## End(Not run)

[Package gap version 1.0-13 Index]