blr_regress function

Binary logistic regression

Binary logistic regression

Binary logistic regression.

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

# 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)