plot.cE_vs_pEcall {BDP2} | R Documentation |
Plot objects returned by plotBDP2()
Description
Plot objects returned by plotBDP2
with arguments x="cE"
and either y="PEcall"
or y="PEstop"
which can computationally be relatively expensive.
Usage
## S3 method for class 'cE_vs_pEcall'
plot(x, ...)
## S3 method for class 'cE_vs_pEstop'
plot(x, ...)
Arguments
x |
Object returned by |
... |
arguments passed to |
Examples
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)
[Package BDP2 version 0.1.3 Index]