Last data update: 2014.03.03
ggplot2
A boxplot of differences between each pair of treatments.
boxdiff.plot(tmatch, out, plot.mean = TRUE, ordering = attr(tmatch, "match.order"), ci.width = 0.5)
tmatch
the results from trimatch.
trimatch
out
a vector of the outcome measure of interest.
plot.mean
logical indicating whether the means should be plotted.
ordering
specify the order for doing the paired analysis, that is analysis will be conducted as: ordering[1] - ordering[2], ordering[1] - ordering[3], and ordering[2] - ordering[3].
ordering[1] - ordering[2]
ordering[1] - ordering[3]
ordering[2] - ordering[3]
ci.width
the width for the confidence intervals.
a ggplot2 boxplot of the differences.