This function calculates correlation matrix from the variance matrix for heterogeneity parameter. Only used for multinomial.
variance.tx.effects(result)
Returns correlation matrix
Object created by network.run
function
#cardiovascular
network <- with(cardiovascular, {
network.data(Outcomes, Study, Treat, N, response = "multinomial")
})
# \donttest{
result <- network.run(network)
variance.tx.effects(result)
# }
Run the code above in your browser using DataLab