variance.tx.effects {bnma}R Documentation

Calculate correlation matrix for multinomial heterogeneity parameter.

Description

This function calculates correlation matrix from the variance matrix for heterogeneity parameter. Only used for multinomial.

Usage

variance.tx.effects(result)

Arguments

result

Object created by network.run function

Value

Returns correlation matrix

Examples

#cardiovascular
network <- with(cardiovascular, {
 network.data(Outcomes, Study, Treat, N, response = "multinomial")
})

result <- network.run(network)
variance.tx.effects(result)


[Package bnma version 1.6.0 Index]