Generic function for network graphs
An R object.
For more details, look at the following functions to generate network graphs:
Guido Schwarzer firstname.lastname@example.org
data(Senn2013) # Generation of an object of class 'netmeta' with reference # treatment 'plac' # net1 <- netmeta(TE, seTE, treat1, treat2, studlab, data = Senn2013, sm = "MD", reference = "plac") # Network graph with default settings # netgraph(net1) ## Not run: data(Woods2010) p1 <- pairwise(treatment, event = r, n = N, studlab = author, data = Woods2010, sm = "OR") net2 <- netmeta(p1) # Network graph with default settings # netgraph(net2) # Network graph with # - number of studies for each pairwise comparison and # - number of participants for each treatment arm # netgraph(net2, number.of.studies = TRUE, labels = paste0(trts, " (n=", n.trts, ")")) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.