mul.model: Create a data object for multivariate network meta-analysis...

Description Usage Arguments Value

View source: R/mul.model.R

Description

The function creates a data frame for bugs operation, using outcome 1, outcome 2, and treatments inputs

Usage

1
mul.model(data1, data2, TX, noa = "3arm", ref = 1, parameters = "simple")

Arguments

data1

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) colums contain the sample size for each arm. Number of columns is from 2 to 3, depending on the number of maximum arms in the data.

data2

A data frame for outcome 2, which has the same number of rows and columns.

TX

A data frame for tratments, which has maximum 3 treatments in 3 columns. The number of rows should coincide with data1 and data2.

noa

Maximum number of arms in the trial studies.

ref

reference treatment numbers in the analysis

parameters

'simple' or 'details' list of parameters.

Value

mnma.model object for mnma.run operation


vandy10s/mnma documentation built on May 19, 2019, 8:24 a.m.