ratioplot {droptest}R Documentation

Creates plot of pass/fail ratio for repeated test series.

Description

ratioplot Creates plot of pass/fail ratio for repeated test series. By simulated probability of reaction.

Usage

ratioplot(simq = seq(0.01, 0.2, by = 0.01), colors = c("RED", "GREEN"), ...)

Arguments

simq

Vector. Probabilities of failure (q) to use for simulated trials. Defaults to range of q = 0.01 to q = 0.5 in 0.05 steps.

colors

Vector. Passes color options to barplot. Defaults to red and green.

...

Passes values to dgroups.

Value

none

Author(s)

Chad Ross chad.ross@gmail.com

See Also

dgroups dseries dtrials droptest

Examples

 # recommended to use num.series value greater than or equal to 1000.
 ratioplot(simq = seq(0.01, 0.20, by = 0.01), num.series = 100)
 ratioplot(simq = seq(0.01, 0.20, by = 0.01), num.series = 100,
           colors = c("BLUE", "BLACK"))
           

[Package droptest version 0.1.3 Index]