glm_ORs: Generate Odds Ratios CI Pval table from GLM

Description Usage Arguments Value Examples

Description

Generate Odds Ratios CI Pval table from GLM

Usage

1
glm_ORs(fit)

Arguments

fit

model fit by brm function

Value

Tibble with 5 columns: Name (char), OR, 2.5

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
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,
z = z
)
glmfit = glm(y ~ x + z, data = df, family = bernoulli(link = "logit"))
glm_ORs(glmfit)

Ajfrick/AVRCHelp documentation built on May 28, 2019, 1:34 a.m.