opposite: The NOT function for a selection statement It simply reverses...

Description Usage Arguments Value See Also Examples

View source: R/condition.R

Description

The NOT function for a selection statement It simply reverses condition

Usage

1
opposite(cond)

Arguments

cond

condition.

Value

Object of class 'data.tree'.

See Also

condition, nmarank

Examples

1
2
3
4
5
6
7
data("Woods2010", package = "netmeta")
p1 <- pairwise(treatment, event = r, n = N, studlab = author,
               data = Woods2010, sm = "OR")
net1 <- netmeta(p1, small.values = "good")

A = condition("retainOrder", c("Placebo", "Salmeterol", "SFC"))
nmarank(net1, opposite(A), text.condition = "NOT order P-S-S", nsim=5000)

esm-ispm-unibe-ch/nmarank documentation built on Jan. 16, 2022, 6 a.m.