View source: R/nodesplit.functions.R
ref.comparisons | R Documentation |
Identify unique contrasts relative to each study reference within a network. Repetitions of the same treatment comparison are grouped together.
ref.comparisons(data)
data |
A data frame containing variables |
A data frame of unique comparisons in which each row represents a
different comparison. t1
and t2
indicate the treatment codes that make
up the comparison. nr
indicates the number of times the given comparison
is made within the network.
If there is only a single observation for each study within the dataset
(i.e. as for standard network meta-analysis) nr
will represent the number
of studies that compare treatments t1
and t2
.
If there are multiple observations for each study within the dataset (as in
MBNMAtime) nr
will represent the number of time points in the
dataset in which treatments t1
and t2
are compared.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.