glmCI: Confidence interval for generalized linear models

View source: R/tests.R

glmCIR Documentation

Confidence interval for generalized linear models

Description

glm_CI computes and formats CIs for glm.

Usage

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

Arguments

model

Output from glm.

min, max

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

cisep

Separator between CI values.

ndigit

rounding level.

Value

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

Examples

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

wrappedtools documentation built on Oct. 10, 2024, 5:07 p.m.