PlotHeat {rankinma}R Documentation

Illustrate heat plot for treatment ranking

Description

PlotHeat() is a function for illustrating heat plot.

Usage

PlotHeat(data, sorttx = NULL, rotateX = NULL, szFntY = NULL)

Arguments

data

DATA of metrics for treatment ranking.

sorttx

LOGIC value for indicating whether sort heat plot by treatments.

rotateX

NUMERIC value between 0 and 360 for rotating x axis labels of heat plot.

szFntY

NUMERIC value for indicating font size of outcome name(s).

Value

PlotHeat() returns a heat plot.

See Also

GetMetrics, SetMetrics, PlotBeads, PlotBar, PlotLine, PlotSpie

Examples

## Not run:
#library(netmeta)
#data(Senn2013)
#nma <- netmeta(TE, seTE, treat1, treat2,
#studlab, data = Senn2013, sm = "SMD")

# Get SUCRA
#nma.1 <- GetMetrics(nma, outcome = "HbA1c.random", prefer = "small", metrics = "SUCRA",
#model = "random", simt = 1000)
#nma.2 <- GetMetrics(nma, outcome = "HbA1c.common", prefer = "small", metrics = "SUCRA",
#model = "common", simt = 1000)

# Combine metrics of multiple outcomes
#dataMetrics <- rbind(nma.1, nma.2)

# Set data for rankinma
#dataRankinma <- SetMetrics(dataMetrics, tx = tx, outcome = outcome,
#metrics = SUCRA, metrics.name = "SUCRA")

# Illustrate heat plot
#PlotHeat(data = dataRankinma)
## End(Not run)


[Package rankinma version 0.2.2 Index]