calcAllPairs: Calculate all pairwise treatment effects in a network...

Description Usage Arguments Details Value See Also

View source: R/nma.R

Description

Calculate all pairwise treatment effects in a network meta-analysis

Usage

1
calcAllPairs(mtcRes, expon = FALSE, ...)

Arguments

mtcRes

An object of class mtc.results as returned by mtc.run

expon

Logical indicating whether the results should be exponentiated or not. If your analysis is based on log hazard ratio or log odds ratio etc then set this to TRUE to get the results as the corresponding hazard ratio or odds ratio.

...

Additional arguments passed down from extractMTCResults

Details

This function takes a mtc.results object and extracts summary statistics for all pairwise treatment comparisons in the network using relative.effect from gemtc. This function should mainly be used via extractMTCresults but can be called directly on any mtc.results object. Only results for the treatment comparisons are returned, additional nodes such as hetereogeneity parameters are not returned. Model comparisons statistics and heterogeneity parameters can be obtained using extractModelFit

Value

A data frame reporting summary statistics (mean, median etc) for the posterior distribution of each treatment comparison. Each row in the data frame represents one treatment comparison.

See Also

mtc.run, relative.effect extractMTCResults, extractModelFit


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