meta.map: Draw meta-map

View source: R/meta.map.r

meta.mapR Documentation

Draw meta-map

Description

Draw a mapping of a meta-analysis dataset

Usage

meta.map(
  meta.ds,
  compNm,
  trialNm,
  refNm,
  ref.col = blue[2],
  comp.col = green[3],
  dist = 1.35
)

Arguments

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

Value

A graph mapping the dimensions of the meta-analysis dataset

See Also

make.map

Examples

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)

qPharmetra/qpToolkit documentation built on May 24, 2023, 8:52 a.m.