netdistance | R Documentation |
Calculate distance matrix for an adjacency matrix based on distance algorithm by Müller et al. (1987).
netdistance(x)
x |
Either a netmeta object or an adjacency matrix. |
Gerta Rücker gerta.ruecker@uniklinik-freiburg.de
Müller WR, Szymanski K, Knop JV, and Trinajstic N (1987): An algorithm for construction of the molecular distance matrix. Journal of Computational Chemistry, 8, 170–73
netmeta
, netconnection
data(smokingcessation)
p1 <- pairwise(list(treat1, treat2, treat3),
event = list(event1, event2, event3), n = list(n1, n2, n3),
data = smokingcessation, sm = "OR")
net1 <- netmeta(p1, common = FALSE)
netdistance(net1)
## Not run:
data(Senn2013)
net1 <- netmeta(TE, seTE, treat1, treat2, studlab,
data = Senn2013, sm = "MD")
netdistance(net1)
netdistance(net1$A.matrix)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.