##' Uses ggplot2
##'
##' @description this function exists only to call ggplot2
##' @return a ggplot2 object
##' @export
call_ggplot2 <- function(d) {
p <- ggplot(d, aes(x=cty, y=hwy)) +
geom_point()
p
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.