plot.amis | R Documentation |
amis()
Plot histogram or credible interval of weighted distributions given a model fitted by amis()
## S3 method for class 'amis'
plot(
x,
what = "prev",
type = "hist",
locations = 1,
time = 1,
measure_central = "mean",
order_locations_by = NULL,
display_location_names = FALSE,
alpha = 0.05,
breaks = 500,
cex = 1,
lwd = 1,
xlim = NULL,
main = NULL,
xlab = NULL,
ylab = NULL,
...
)
x |
The output from the function |
what |
What posterior distribution should be plotted.
It can be |
type |
Type of plot. It can be |
locations |
Integer vector or location names identifying locations the plots are made for. Default to |
time |
Integer index identifying the timepoint. Default to |
measure_central |
Measure of central tendency for credible interval plots.
It can be |
order_locations_by |
How the credible intervals of multiple locations should be ordered.
If |
display_location_names |
Logical indicating whether location names are to be shown or not
in credible interval plots. Default to |
alpha |
Numeric value between 0 and 1 indicating the endpoints of the
credible intervals, which are evaluated at (alpha/2, 1-alpha/2)% quantiles.
Default ( |
breaks |
Argument passed to |
cex |
Argument passed to plots of credible intervals.
Default to |
lwd |
Argument passed to plots of credible intervals.
Default to |
xlim |
The x limits of the plots. For for credible intervals of multiple
statistics (i.e. |
main |
Title for the plot. |
xlab |
Lable for the x axis. |
ylab |
Lable for the y axis. |
... |
Other graphical parameters passed to |
For illustrative examples, see amis()
.
A plot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.