Skip to contents

Create an nma class object to use in an analysis. All of the data types are optional but at least one needs to be passed to the function. The data_type must be a subset of the passed data sets. If none given then all of the supplied data are assumed.

Usage

new_NMA(
  survDataHR = NA,
  survDataMed = NA,
  survDataBin = NA,
  binData = NA,
  countData = NA,
  contsData = NA,
  bugs_params = NA,
  is_random = TRUE,
  data_type = NA,
  hyperparams = list(),
  refTx = NA,
  effectParam = NA,
  label,
  endpoint
)

Arguments

survDataHR

Hazard ratio input data frame. Optional

survDataMed

Median time input data frame. Optional

survDataBin

Survival binary data input data frame. Optional

binData

Binary data input data frame. Optional

countData

Count data input data frame. Optional

contsData

Continuous data input data frame. Optional

bugs_params

List of BUGS parameters. Optional

is_random

Random effects model? Logical

data_type

Vector of names of data formats from "hr_data", "surv_bin_data", "med_data", "bin_data", "count_data", "conts_data"

hyperparams

List of hyperparameters

refTx

Reference treatment; string

effectParam

Effect parameter

label

Label

endpoint

End point name; string

Value

See also