relative.effects.table {bnma} | R Documentation |
This function creates a summary table of relative effects. Relative effects are in units of log odds ratio for binomial and multinomial data and real number scale for normal data.
relative.effects.table( result, summary_stat = "mean", probs = NULL, base.category = NULL )
result |
Object created by |
summary_stat |
Specifies what type of statistics user wants. Options are: "mean", "ci", "quantile", "sd", "p-value". "ci" gives 95 "p-value" is the probability relative effect (in binomial, log odds ratio) is less than 0. |
probs |
Used only for the quantile summary. Specifies which quantile user wants the summary of (should be one numeric value between 0 to 1) |
base.category |
Specifies for which base category user wants for the summary. Used only for multinoimal. |
Returns relative effects table
#cardiovascular network <- with(cardiovascular,{ network.data(Outcomes, Study, Treat, N, response = "multinomial") }) result <- network.run(network) exp(relative.effects.table(result)) #look at odds ratio instead of log odds ratio