Makes index of factor variables requiring indent from fmt_regression objects in Rmarkdown

# S3 method for fmt_uni_regression
indent_key(x, ...)

Arguments

x

fmt_regression object

...

further arguments passed to or from other methods

Examples

library(lme4) uni_mod <- fmt_uni_regression(trial, method = "glm", y = "response", method.args = list(family = binomial), exponentiate = TRUE ) # In RMarkdown, knitting to HTML: kable(as_tibble(uni_mod), row.names = FALSE, caption = "Model Summary" ) %>% kableExtra::add_indent(indent_key(uni_mod))
#> Error in kable(as_tibble(uni_mod), row.names = FALSE, caption = "Model Summary"): could not find function "kable"