An example of network meta-analysis for binary outcomes with exposure times in person-years reported.
data("dietaryfat")A data frame containing 10 studies which compare 2 treatments. The total number of person-years at risk are reported for each treatment group in each study.
s.ida numeric vector of study IDs.
t.ida numeric vector of treatment IDs.
pya numeric vector of the total person-years in each treatment group in each study.
ra numeric vector of the total mortality in each treatment group in each study.
na numeric vector of the total number of participants in each treatment group in each study.
This network meta-analysis is reported by Hooper et al. (2000) to assess the effects of change in dietary fats on cardiovascular mortality. Treatment 1 is a control diet and treatment 2 is a reduced fat diet. Originally, study 2 compares three treatments, which include treatments 1 and 2, and another diet. Here, we treat these two different types of diet as the same treatment, but keep the treatment arms separate.