extractRanks: Extract ranking probabilities

Description Usage Arguments Details Value See Also

View source: R/nma.R

Description

Extract ranking probabilities

Usage

1
extractRanks(ranks, treatments)

Arguments

ranks

An object of class mtc.rank.probability as returned by the probability function in the gemtc package

treatments

A data frame with columns 'description' defining the treatment names and 'id' defining the treatment ID numbers.

Details

This function takes the ranking probablilities returned by rank.probability, matches the treatment names to the id numbers and returns the results as a data frame

Value

A data frame

See Also

rank.probability


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