plot.psa {dampack} | R Documentation |
Plot the psa object
## S3 method for class 'psa'
plot(
x,
center = TRUE,
ellipse = TRUE,
alpha = 0.2,
txtsize = 12,
col = c("full", "bw"),
n_x_ticks = 6,
n_y_ticks = 6,
xbreaks = NULL,
ybreaks = NULL,
xlim = NULL,
ylim = NULL,
...
)
x |
the psa object |
center |
plot the mean cost and effectiveness for each strategy. defaults to TRUE |
ellipse |
plot an ellipse around each strategy. defaults to TRUE |
alpha |
opacity of the scatterplot points. 0 is completely transparent, 1 is completely opaque |
txtsize |
base text size |
col |
either none, full color, or black and white |
n_x_ticks |
number of axis ticks |
n_y_ticks |
number of axis ticks |
xbreaks |
vector of axis breaks.
will override |
ybreaks |
vector of axis breaks.
will override |
xlim |
vector of axis limits, or NULL, which sets limits automatically |
ylim |
vector of axis limits, or NULL, which sets limits automatically |
... |
further arguments to plot.
This is not used by |
A ggplot2
plot of the PSA, showing the distribution of each PSA sample and strategy
on the cost-effectiveness plane.