Skip to contents

Create a formatted league table from a fitted network meta-analysis

Usage

network_league_table(
  object,
  seq = NULL,
  ci = TRUE,
  backtransf = FALSE,
  digits = 2,
  text_NA = ".",
  bracket = c("[", "]"),
  separator = ", "
)

Arguments

object

A fitted nma_mars object.

seq

Optional treatment order for rows and columns.

ci

Logical; if TRUE, include confidence limits in each cell.

backtransf

Logical; if TRUE, exponentiate estimates and intervals, useful for log odds ratios, log risk ratios, and log hazard ratios.

digits

Number of decimal places.

text_NA

Text used for unavailable cells.

bracket

Length-two character vector used around confidence intervals.

separator

Separator placed between lower and upper confidence limits.

Value

A character matrix with one row and column per treatment.

Examples

if (FALSE) { # \dontrun{
network_league_table(nma_fit)
} # }