extractComparison: Extract treatment comparison information from mtc summary...

Description Usage Arguments Details Value See Also

View source: R/nma.R

Description

Extract treatment comparison information from mtc summary output

Usage

1

Arguments

df

A data frame as returned by calcAllPairs

Details

In the summary output from a network meta-analysis treatment comparisons are commonly labelled as 'd.1.2' for the relative effect of treatment 2 compared to treatment 1. This function removes the 'd' and splits '1' and '2' into separate columns which is more useful for downstream reporting. This function is intended to work on the output from calcAllPairs. This functionality will usually be accessed via extractMTCResults and should only be used directly if you understand what you are doing.

Value

A data frame with additional columns

See Also

calcAllPairs, extractMTCResults


RichardBirnie/mautils documentation built on July 12, 2019, 8:56 p.m.