summary.network.result: Summarize result run by 'network.run'

Description Usage Arguments Value Examples

View source: R/network.summary.R

Description

This function uses summary function in coda package to summarize mcmc.list object. Monte carlo error (Time-series SE) is also obtained using the coda package and is printed in the summary as a default.

Usage

1
2
## S3 method for class 'network.result'
summary(object, ...)

Arguments

object

Result object created by network.run function

...

Additional arguments affecting the summary produced

Value

Returns summary of the network model result

Examples

1
2
3
4
5
6
7
network <- with(statins, {
 network.data(Outcomes, Study, Treat, N = N, response = "binomial",
 Treat.order = c("Placebo", "Statin"), covariate = covariate, covariate.type = "discrete")
})

result <- network.run(network)
summary(result)

bnma documentation built on Jan. 3, 2022, 5:12 p.m.