glmCI: Confidence interval for generalized linear models

Description Usage Arguments Value Examples

View source: R/tests.R

Description

glm_CI computes and formats of CIs for glm.

Usage

1
glmCI(model, min = .01, max = 100, cisep = '\U000022ef', ndigit=2)

Arguments

model

Output from glm.

min, max

Lower and upper limits for CIs, usefull for extremely wide CIs.

cisep

Separator between CI values.

ndigit

rounding level.

Value

A list with coefficient, CIs, and pasted coef([CIs]).

Examples

1
2
glm_out <- glm(am ~ mpg, family = binomial, data = mtcars)
glmCI(glm_out)

wrappedtools documentation built on Sept. 6, 2021, 5:08 p.m.