#' Title
#'
#' @param design
#'
#' @return
#' @export
#'
#' @examples
#'
#' @importFrom ggdag dagify
#' @importFrom purrr flatten
#'
get_dag <- function(design) {
formulae <- lapply(design, get_vars_from_step) %>% unname %>% flatten
do.call(dagify, formulae)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.