Senn2013: Studies on Diabetes Treatments

Senn2013R Documentation

Studies on Diabetes Treatments

Description

Results from 26 trials evaluating treatments for diabetes.

Usage

Senn2013

Format

The data frame contains the following columns:

study character study ID
treatment character treatment
n integer sample size
mean numeric mean
sd numeric standard deviation
type character outcome type
author character first author
year numeric first author

Details

This network meta-analysis compared the effectiveness of nine active treatments and placebo in patients with diabetes (Senn et al., 2013). Patients enrolled in 26 studies included in this data set were treated to reduce blood glucose (HBA1c) levels. The effect measure was the mean difference of average plasma glucose concentration HbA1C and measured in mmol / mol. The outcome was either measured as a change score or post intervention (variable type).

Concepts

medicine, diabetes, mean differences, network meta-analysis

Author(s)

Guido Schwarzer, guido.schwarzer@uniklinik-freiburg.de

Source

Senn S, Gavini F, Magrez D, Scheen A (2013): Issues in performing a network meta-analysis. Statistical Methods in Medical Research, 22, 169–89

Examples


if (requireNamespace("netmeta", quietly = TRUE)) {
# Load netmeta package
library("netmeta")

# Print mean differences with two digits
oldset <- settings.meta(digits = 2)

# Transform data from long arm-based format to contrast-based
# format.
pw1 <- pairwise(studlab = study, treat = treatment,
  n = n, mean = mean, sd = sd, data = Senn2013,
  varnames = c("MD", "seMD"))

# Conduct network meta-analysis
nma1 <- netmeta(pw1, random = FALSE,
  reference.group = "placebo")
nma1

# Draw network graph
netgraph(nma1, seq = "optimal", multiarm = TRUE,
  cex = 1.5, lwd = 7, rotate = -1 / n * 360,
  pch.points = 21, bg.points = "lightblue",
  cex.points = n.trts, points.max = 10,
  labels = paste0(trts, "\n(n=", n.trts, ")"),
  offset = 0.045)

# Use previous settings
settings.meta(oldset)
}


metabook documentation built on March 13, 2026, 5:06 p.m.