blr_regress: Binary logistic regression

Description Usage Arguments Examples

View source: R/blr-regress.R

Description

Binary logistic regression.

Usage

1
2
3
4
blr_regress(object, ...)

## S3 method for class 'glm'
blr_regress(object, odd_conf_limit = FALSE, ...)

Arguments

object

An object of class "formula" (or one that can be coerced to that class): a symbolic description of the model to be fitted or class glm.

...

Other inputs.

odd_conf_limit

If TRUE, odds ratio confidence limts will be displayed.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
# using formula
blr_regress(object = honcomp ~ female + read + science, data = hsb2)

# using a model built with glm
model <- glm(honcomp ~ female + read + science, data = hsb2,
             family = binomial(link = 'logit'))

blr_regress(model)

# odds ratio estimates
blr_regress(model, odd_conf_limit = TRUE)

blorr documentation built on July 2, 2020, 2:15 a.m.