plot.psa | 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 x-axis ticks |
n_y_ticks |
number of y-axis ticks |
xbreaks |
vector of x-axis breaks.
will override |
ybreaks |
vector of y-axis breaks.
will override |
xlim |
vector of x-axis limits, or NULL, which sets limits automatically |
ylim |
vector of y-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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.