heatplot: Generic function for heat plots

View source: R/heatplot.R

heatplotR Documentation

Generic function for heat plots

Description

Generic function for heat plots

Usage

heatplot(x, ...)

Arguments

x

An R object.

...

Additional arguments.

Details

For more details, look at the following function to generate heat plots:

  • heatplot.netmeta

  • heatplot.crossnma (if installed)

Author(s)

Guido Schwarzer guido.schwarzer@uniklinik-freiburg.de

Examples

data(Senn2013)

# Only consider first five studies (to reduce runtime of example)
#
studies <- unique(Senn2013$studlab)
Senn2013.5 <- subset(Senn2013, studlab %in% studies[1:5])

# Conduct random effects network meta-analysis with
# placebo as reference treatment
#
net1 <- netmeta(TE, seTE, treat1.long, treat2.long, studlab,
  data = Senn2013.5, sm = "MD", common = FALSE, reference = "plac")
      
# Generate a heat plot (with abbreviated treatment labels)
#
heatplot(net1, nchar.trts = 4) 


netmeta documentation built on June 23, 2024, 9:06 a.m.