plot.cE_vs_pEcall: Plot objects returned by plotBDP2()

Description Usage Arguments Examples

View source: R/plotPEcallVScE.R

Description

Plot objects returned by plotBDP2 with arguments x="cE" and either y="PEcall" or y="PEstop" which can computationally be relatively expensive.

Usage

1
2
3
4
## S3 method for class 'cE_vs_pEcall'
plot(x, ...)
## S3 method for class 'cE_vs_pEstop'
plot(x, ...)

Arguments

x

Object returned by plotBDP2 with arguments x="cE" and either y="PEcall" or y="PEstop"

...

arguments passed to plot.default

Examples

1
2
3
4
5
6
7
8
9
shape1F=0.3
shape2F=0.7
shape1E=0.12
shape2E=0.88
res=plotBDP2(x="cE",y="PEcall",n=30,interim.at=15,
             pF=0.3,cF=0.01,pE=0.12,cE=seq(.5,1,by=.01),p0=0.3,p1=0.12,
             shape1F=shape1F,shape2F=shape2F,shape1E=shape1E,shape2E=shape2E,
             col=c("green","red"),cex.sub=.8)
plot(res)

BDP2 documentation built on May 1, 2019, 9:03 p.m.