| plot.PStrataFit | R Documentation |
By default, shows violin plots of posterior strata proportions
and potential outcomes (non-survival).
Use what = "trace" or what = "dens" for MCMC diagnostics.
## S3 method for class 'PStrataFit'
plot(x, what = c("default", "trace", "dens"), pars = "strata_prob", ...)
x |
A |
what |
|
pars |
Parameter names for trace/dens plots (ignored for default). |
... |
Additional arguments passed to plotting functions. |
A ggplot object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.