Description Usage Arguments Details Author(s) Examples
Forward plots of summary treatment estimates with their 95 percent confidence intervals.
1 | fwdplotest(x)
|
x |
object of class NMAoutlier (mandatory). |
Plot of summary treatment estimates and their confidence intervals for each FS iteration. Vertical axis provides the FS iterations. Horizontal axis provides summary treatment estimates.
Maria Petropoulou <petropoulou@imbi.uni-freiburg.de>
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | ## Not run:
data(smokingcessation, package = "netmeta")
smokingcessation$id <- 1:nrow(smokingcessation)
study912 <- subset(smokingcessation, id %in% 9:12)
p1 <- netmeta::pairwise(list(treat1, treat2, treat3),
list(event1, event2, event3),
list(n1, n2, n3),
data = study912,
sm = "OR")
# Forward search algorithm
#
FSresult <- NMAoutlier(p1, P = 1, small.values = "bad", n_cores = 2)
# Forward plot for summary treatment estimates and their confidence
# intervals
#
fwdplotest(FSresult)
data(smokingcessation, package = "netmeta")
# Transform data from arm-based format to contrast-based format
# We use 'sm' argument for odds ratios.
# We use function pairwise from netmeta package
#
p1 <- netmeta::pairwise(list(treat1, treat2, treat3),
list(event1, event2, event3),
list(n1, n2, n3),
data=smokingcessation,
sm="OR")
# forward search algorithm
FSresult <- NMAoutlier(p1, small.values = "bad")
# Forward plot for summary treatment estimates
# and their confidence intervals
fwdplotest(FSresult)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.