plot.psdesign {pseval} | R Documentation |
Plot summary statistics for a psdesign object
Description
Plot the treatment efficacy or another contrast of risk versus S.1 for an estimated psdesign object
Usage
## S3 method for class 'psdesign'
plot(x, t, contrast = "TE", sig.level = 0.05,
CI.type = "band", n.samps = 500, xlab = "S.1", ylab = contrast,
col = 1, lty = 1, lwd = 1, ...)
Arguments
x |
A psdesign object that contains a risk model, integration model, and valid estimates |
t |
For time to event outcomes, a fixed time |
contrast |
Name of contrast function to plot. |
sig.level |
Significance level used for confidence bands on the contrast curve. This is only used if bootstrapped estimates are available. |
CI.type |
Character string, "pointwise" for pointwise confidence intervals, and "band" for simultaneous confidence band. |
n.samps |
Number of samples to use over the range of S.1 for plotting the curve |
xlab |
X-axis label |
ylab |
Y-axis label |
col |
Vector of integers specifying colors for each curve. |
lty |
Vector of integers specifying linetypes for each curve. |
lwd |
Vector of numeric values for line widths. |
... |
Other arguments passed to plot |