Learn R Programming

broom (version 0.4.3)

process_lm: helper function to process a tidied lm object

Description

Adds a confidence interval, and possibly exponentiates, a tidied object. Useful for operations shared between lm and biglm.

Usage

process_lm(ret, x, conf.int = FALSE, conf.level = 0.95,
  exponentiate = FALSE)

Arguments

ret

data frame with a tidied version of a coefficient matrix

x

an "lm", "glm", "biglm", or "bigglm" object

conf.int

whether to include a confidence interval

conf.level

confidence level of the interval, used only if conf.int=TRUE

exponentiate

whether to exponentiate the coefficient estimates and confidence intervals (typical for logistic regression)