meta.map | R Documentation |
Draw a mapping of a meta-analysis dataset
meta.map(
meta.ds,
compNm,
trialNm,
refNm,
ref.col = blue[2],
comp.col = green[3],
dist = 1.35
)
meta.ds |
meta analysis dataset |
compNm |
name of variable holding the comparator names |
trialNm |
name of variable holding unique trial identifier |
refNm |
Reference comparator. Must be a member of meta.ds[,compNm] |
ref.col |
color of reference node |
comp.col |
color of comparator nodes |
dist |
distance for text position |
A graph mapping the dimensions of the meta-analysis dataset
make.map
test = c("Ref", paste("comp", 1:5, sep = ""))
test.ds = data.frame(drg = rep(test, times = seq(12,2,-2)),
ref.id = c(rep(1:4, 10),1,1))
names(test.ds)
meta.map(test.ds, compNm = "drg", trialNm = "ref.id", refNm = "Ref", dist = 1.4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.