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

Description Usage Arguments Value Author(s) See Also Examples

View source: R/ratioplot.R

Description

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

Usage

1
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

1
2
3
4
5
 # 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"))
           

chadr/droptest documentation built on May 20, 2019, 9:14 p.m.