add.distr: add.distr

Description Usage Arguments Value

View source: R/hint_plotting.R

Description

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

Usage

1
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.


hint documentation built on Feb. 2, 2022, 5:10 p.m.