# \donttest{
data(smokingcessation)
pw <- pairwise(list(treat1, treat2, treat3),
event = list(event1, event2, event3), n = list(n1, n2, n3),
data = smokingcessation, sm = "OR")
net <- netmeta(pw)
L1 <- net$L.matrix.common
L2 <- invmat(net$Lplus.matrix.common)
all.equal(round(L1, 10), round(L2, 10))
# }
Run the code above in your browser using DataLab