View source: R/lines.rule.surv.R
lines.rule.surv | R Documentation |
Add a survival stopping rule graphically as a curve on current plot for time-to-event data
## S3 method for class 'rule.surv'
lines(x, ...)
x |
A |
... |
Other options to be passed to generic |
No return value, function solely modifies current plot
## Not run: poc_rule = calc.rule.surv(n=50,p0=0.20,alpha=0.10,type="Pocock",tau=100)
gp_rule = calc.rule.surv(n=50,p0=0.20,alpha=0.10,type="GP",tau=100,param=c(1,1000))
plot(poc_rule)
lines(gp_rule,col="red")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.