table.meta.analysis.summary: Summarize meta-analysis dataset

View source: R/table.meta.analysis.summary.r

table.meta.analysis.summaryR Documentation

Summarize meta-analysis dataset

Description

Creates a summary of a meta-analysis dataset. The dataset needs specific column names (see Notes).

Usage

table.meta.analysis.summary(data, cov.cols = NULL, cov.cat = NULL)

Arguments

data

meta.analysis dataset

cov.cols

character vector with covariate columns

cov.cat

character vector indicating whether each covariate is continuous or categorical

Value

Summarized meta-analysis dataset

Note

Standard column names are reference reference number or label to uniquely identify each public literature article/source study study identifier or label drug drug name in a given arm dose dose in a given arm (could be total daily, or some other summary figure) time observation time n sample size at each observation time Each unique study+drug+dose = one arm

If there are multiple doses of a drug in a study, computes the AVERAGE starting size Covariate columns (both continous and categorical) can be specified in the "cov.cols" argument (a vector). Whether each covariate is continous or categorical is specified in the "cov.cat" argument.

Examples

meta.analysis.ds = read.csv(file.path(getOption("qpExampleDir")
 , "../Excel/meta.analysis.ds.csv"),stringsAsFactors = FALSE)
table.meta.analysis.summary(meta.analysis.ds
 , cov.cols = c("age","fem.pct","dis.score.bl","drug.ir")
 , cov.cat = c(FALSE,FALSE,FALSE,TRUE)
)

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