Davies (version 1.1-9)

twolines.vert: Order statistic comparison

Description

Plots two lines and shades the bit in between them

Usage

twolines.vert(p, y1, y2, ...)

Arguments

p

vector of quantiles

y1

First set of ordinates

y2

Second set of ordinates

...

Extra arguments, passed to segments(), for the vertical lines

Details

Plots p against y1, and p against y2, and shades the bit in between using vertical lines. This is useful for comparing two order statistics

See Also

Davies,qqplot

Examples

Run this code
# NOT RUN {
twolines.vert(1:100,sort(rnorm(100)),sort(rnorm(100)))
params <- c(10 , 0.1 , 0.1)
twolines.vert(1:100 , sort(rdavies(100,params)) , sort(rdavies(100,params)))
# }

Run the code above in your browser using DataLab