#' Extract some info about the equations
#'
#' @param model
#'
#' @return
#' @export
#'
#' @examples
create_glance_eq <- function(model) {
glance_eq <- broom::glance(model) %>%
mutate(p.sig = ifelse(p.value < 0.001, "***",
ifelse(
p.value < 0.01, "**",
ifelse(p.value < 0.1, "*",
ifelse(p.value < 0.2, "-", ""))
)))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.