new_NMA | R Documentation |
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.
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
)
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 |
NMA_run
, NMA_update
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.