dot-do_logistic_univ: Do univariable logistic regression and extract results in...

Description Usage Arguments Value

Description

A helper function to be used in a loop to do univariable regression and give some nice lookin' results/

Usage

1
2
3
4
5
6
7
8
9
.do_logistic_univ(
  data,
  formula,
  format = "html",
  conf_level = 0.95,
  exponentiate = TRUE,
  include_last_row = TRUE,
  ...
)

Arguments

data

a data frame or tibble

formula

A character string

format

Display format in case I need to escape some characters. A place holder for now in case I need it in the future. Default is "html".

conf_level

The confidence level to use for the confidence interval. Must be strictly greater than 0 and less than 1. Defaults to 0.95, which corresponds to a 95 percent confidence interval.

exponentiate

Logical indicating whether or not to exponentiate the the coefficient estimates. This is typical for logistic and multinomial regressions, but a bad idea if there is no log or logit link. Defaults to TRUE.

include_last_row

Adds a row at the end of each set of results to give some breathing room. Default is TRUE.

...

Additional arguments

Value

A tibble or data frame


emilelatour/latable documentation built on Jan. 10, 2020, 5:53 p.m.