Description Usage Arguments Author(s) See Also Examples
Functions used to plot the objects created by the sensitivityPStrat family of functions.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 | ## S3 method for class 'sensitivity.1.0d'
plot(x, xlim, ylim,
xlab = expression(beta), ylab = "ACE",
display = c("analytic", "bootstrap"),
col = "black", line.col = col, point.col = col,
analytic.col = "red", analytic.line.col = analytic.col,
analytic.point.col = analytic.col,
bootstrap.col = "green", bootstrap.line.col = bootstrap.col,
bootstrap.point.col = bootstrap.col,
panel.last = NULL, type = "l", ...)
## S3 method for class 'sensitivity.2.0d'
plot(x, xlim, ylim, xlab = expression(beta[0]), ylab = expression(beta[1]),
display = c("analytic", "bootstrap"), col = c(gray(.9), gray(1), gray(.8)),
panel.last = NULL, ...)
## S3 method for class 'sensitivity.1.1d'
plot(x, xlim, ylim,
xlab = expression(beta), ylab = "SCE",
t.point, display = c("analytic", "bootstrap"),
col = "black", line.col = col, point.col = col,
analytic.col = "red", analytic.line.col = analytic.col,
analytic.point.col = analytic.col,
bootstrap.col = "green", bootstrap.line.col = bootstrap.col,
bootstrap.point.col = bootstrap.col,
panel.last = NULL, type = "l", ...)
|
x |
sensitivity object |
t.point |
the time point at which data to create the plot. |
display |
character vector. Controlls which confidence interval to use plot. |
line.col |
the color all the lines should be. |
point.col |
the color all the infinity points should be. |
analytic.col |
the color of all of the analytic confidence interval markings |
analytic.line.col |
the color of all of the analytic confidence interval lines |
analytic.point.col |
the color of all of the analytic confidence interval infinity points |
bootstrap.col |
the color of all of the bootstrap confidence interval markings |
bootstrap.line.col |
the color of all of the bootstrap confidence interval lines |
bootstrap.point.col |
the color of all of the bootstrap confidence interval infinity points |
xlim, ylim, xlab, ylab, col, panel.last, type |
see |
... |
arguments passed to |
Charles Dupont
Department of Biostatistics
Vanderbilt University
1 2 3 4 5 6 7 8 9 10 11 12 | data(vaccine.trial)
ansJR<-with(vaccine.trial,
sensitivityJR(z=treatment,s=hiv.outcome,y=logVL,
beta0=c(-1,-.75,-.5,-.25,0,.25,.5,.75,1),
beta1=c(-1,-.75,-.5,-.25,0,.25,.5,.75,1),
phi=c(0.95,0.90,0.80), selection="infected",
groupings=c("placebo","vaccine"),
N.boot=100)
)
plot(ansJR)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.