plotw {bamdit} | R Documentation |
Plot for the conflict of evidence parameters w1 and w2
Description
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.
Usage
plotw(
m,
group = NULL,
title = "Posterior quantiles (25%, 50%, 75%)",
group.colors = c("blue", "red")
)
Arguments
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. |
See Also
Examples
## 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)
[Package bamdit version 3.4.1 Index]