dplot.uvmeta | R Documentation |
Function to generate plots for the prior and posterior distribution of a Bayesian meta-analysis.
## S3 method for class 'uvmeta' dplot(x, par, distr_type, plot_type = "dens", ...)
x |
An object of class |
par |
Character string to specify for which parameter a plot should be generated. Options are |
distr_type |
Character string to specify whether the prior distribution ( |
plot_type |
Character string to specify whether a density plot ( |
... |
Additional arguments which are currently not used |
An object of class ggplot
Thomas Debray <thomas.debray@gmail.com>
## Not run: data(Roberts) fit <- with(Roberts, uvmeta(r=SDM, r.se=SE, method="BAYES")) dplot(fit) dplot(fit, distr_type = "posterior") dplot(fit, par = "tau", distr_type = "prior") dplot(fit, plot_type = "hist") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.