brm_ors: Generate Odds Ratios from logit link brm model

Description Usage Arguments Value Examples

View source: R/brm_ORs.R

Description

Generate Odds Ratios from logit link brm model

Usage

1
brm_ors(fit, digits = 2, predlabs, ...)

Arguments

fit

model fit by brm function

digits

number of digits to round

predlabs

optional vetor of labels for each predictor

Value

Tibble with 3 columns: Name, Prob, 95

Examples

1
2
3
4
5
6
7
 require(brms)
x = runif(100,0,10)
y = sample(c(0,1), size = 100, replace = T)
z = runif(100,0,10)
df = tibble(x = x,y = y)
brmfit = brm(y ~ x + z, data = df, family = bernoulli(link = "logit"))
brm_pval(brmfit)

Ajfrick/AVRCHelp documentation built on Oct. 26, 2018, 8:17 p.m.