make.map: Meta-analysis data tabulation

View source: R/make.map.r

make.mapR Documentation

Meta-analysis data tabulation

Description

Compose table of all two-way combinations of comparators and references

Usage

make.map(ds, cNm = "drug.abbr", trNm = "ref.tr")

Arguments

ds

meta-analysis dataset

cNm

column names of comparators

trNm

column names of reference drugs

Value

A dataset summarizing the dimensions of the meta-analysis dataset

Placeholder for return description

Note

not intended to be used as standalone. Is called from qP function meta.map()

See Also

meta.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.