shadeTails: Plot a distribution and shade one or two tails.

Description Usage Arguments Details Author(s) Examples

Description

Plot a distribution and shade one or two tails.

Usage

1
shadeTails(fun, xlim, q, tails = "both", add = FALSE, ...)

Arguments

fun

function

q

quantile above (below) which the curve should be shaded on the upper (lower) tail.

...

Additional parameters are passed to shadeArea()

tails="both"

Tails under which the curve should be shaded. Accepted values: "both", "lower", "upper".

Details

First version: 2015-03 Last modification: 2015-03

Author(s)

Jacques van Helden (Jacques.van-Helden@univ-amu.fr)

Examples

1
2
3
## Shade the interval (-1,1) below Student density function
shadeTails(dt, xlim=c(-5,5), q=2,df=3, shade.col="pink", tails="both",
           curve.col="darkblue",shade.border="darkblue")

jvanheld/stats4bioinfo documentation built on May 20, 2019, 5:16 a.m.