#' expand_grid
#'
#' Like `expand.grid` but treats `stringsAsFactors` as FALSE.
#'
#' @export
expand_grid <- function (..., stringsAsFactors = FALSE) {
expanded <- base::expand.grid(
stringsAsFactors = stringsAsFactors,
...)
return(tibble::as.tibble(expanded))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.