twolines.vert: Order statistic comparison

twolines.vertR Documentation

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

Author(s)

Robin K. S. Hankin

See Also

Davies,qqplot

Examples

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)))

Davies documentation built on March 18, 2022, 5:52 p.m.