Description Usage Arguments Details Value Examples
The function generates a data object for mnma.run
or unma.run
operation, using outcome 1, outcome 2, and treatments inputs
1 2 | mnma.model(outcome1, outcome2, TX, noa = "3arm", ref = 1,
parameters = "simple")
|
outcome1 |
A data frame for outcome 1. First 2 (or 3) columns contain the information about number of events for each arm and the rest 2 (or 3) columns contain the sample size for each arm. Number of columns ranges from 2 to 3, depending on the number of maximum arms in the trial data. |
outcome2 |
A data frame for outcome 2, which has the same dimensions as outcome1. |
TX |
A data frame for tratments, which has maximum 3 treatment arms in 3 columns. The number of rows should coincide with outcome1 and outcome2. Each element needs to be numeric. |
noa |
Maximum number of arms in the trial studies, which is either |
ref |
Reference treatment in the analysis in a numeric class. |
parameters |
List of parameters to infer in the analysis. They are either |
A simple
list for parameters includes log odds ratio (comparison) parameters between reference and all other treatments. A detail
list for parameters includes log odds ratio parameters between all treatments. Both cases include a correlation parameter and heterogeneity parameters for two outcomes.
An object of class mnma.model
that contains data information and parameter lists to estimate for multivariate and univariate network meta-analysis.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.