cumul.poth {poth}R Documentation

Cumulative method for precision of treatment hierarchy (POTH) metric

Description

Cumulative method for precision of treatment hierarchy (POTH) metric

Usage

## S3 method for class 'poth'
cumul(x, sort = TRUE, ...)

## S3 method for class 'cumul.poth'
print(x, digits = 3, legend = TRUE, ...)

cumul(x, ...)

Arguments

x

An R object of class poth.

sort

A logical indicating whether results should be sorted by decreasing ranking metric.

...

Additional arguments.

digits

Minimal number of significant digits, see print.default.

legend

A logical indicating whether a legend should be printed.

Value

A data frame with additional class cumul.poth and the following variables:

trt

Name of added treatment.

rank

Treatment rank (global).

score

Ranking metric (global).

poth_cum

Cumulative POTH.

Examples


library("netmeta")
data(Senn2013)
net1 <- netmeta(TE, seTE, treat1.long, treat2.long, studlab,
  data = Senn2013, sm = "MD", random = FALSE)

# Cumulative method
c1 <- cumul(poth(net1))
c1
plot(c1)
plot(c1, labels = TRUE)
c2 <- cumul(poth(net1), sort = FALSE)
c2
plot(c2)
plot(c2, labels = TRUE)



[Package poth version 0.2-0 Index]