plotw | R Documentation |
Conflict of evidence plot: this plot displays the posterior distribution of the study's weights w1 and w1. These weights indicate potential conflict of evidence of the studies. The weight w1 indicates deviations with respect to the specificity and w2 to the sensitivity.
plotw(
m,
group = NULL,
title = "Posterior quantiles (25%, 50%, 75%)",
group.colors = c("blue", "red")
)
m |
The object generated by metadiag. The model object must be fitted with the options: re = "sm" and split.w = TRUE. |
group |
An optional argument which is a variable name indicating a group factor. If set, then the plot is colored by groups. |
title |
The title of the plot. |
group.colors |
A character vector with two color names. |
metadiag
.
## execute analysis
## Not run:
data(ep)
ep$design = factor(ep$d1,labels = c("prospective", "retrospective"))
m.ep <- metadiag(ep, re = "sm", re.model = "SeSp",
split.w = TRUE,
df.estimate = TRUE)
plotw(m.ep)
#Relationship between conflict and study design
plotw(m.ep, group = "design")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.