relative.effects.table {bnma} | R Documentation |

## Make a summary table for relative effects

### Description

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.

### Usage

```
relative.effects.table(
result,
summary_stat = "mean",
probs = NULL,
base.category = NULL
)
```

### Arguments

`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. |

### Value

Returns relative effects table

### See Also

### Examples

```
#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
```

[Package

*bnma*version 1.6.0 Index]