Learn R Programming

blorr (version 0.3.0)

blr_regress: Binary logistic regression

Description

Binary logistic regression.

Usage

blr_regress(object, ...)

# S3 method for 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

Run this code
# NOT RUN {
# 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)

# }

Run the code above in your browser using DataLab