Skip to contents

Create input data for NMA. Renames the study, base and other fields with appended letter depending on type of data.

Usage

prep_codeData(
  survDataHR = NA,
  survDataBin = NA,
  survDataMed = NA,
  binData = NA,
  countData = NA,
  contsData = NA,
  refTx = NA
)

Arguments

survDataHR

Hazard ratio data frame

survDataBin

Optional data frame. Survival binary data

survDataMed

Optional data frame. Median times

refTx

Reference treatment name; string

Value

List of data and statistics. If no binary of median data empty sub-lists.