add.distr {hint}R Documentation

add.distr

Description

This function will add one or more distributions or hypothesis tests to an existing plot.

Usage

add.distr(..., cols = "blue", test.cols = "red")

Arguments

...

One or more distributions or objects of class hint.test.

cols

A character string vector naming the colours of the distributions. If length(cols) is less than the number of distributions, the colours will be recycled. Defaults to "blue".

test.cols

A character string vector naming the colours to use for the regions in which the cumulative probability of the hypothesis test was derived (if it exists). If length(test.cols) is less than the number of distributions, the colours will be recycled. Defaults to "red".

Value

Plots to the current device.


[Package hint version 0.1-3 Index]