#' @rdname importas
#' @param pkg A name of package
#' @param nm An abbreviated name of the package
#'
#' @examples
#' graphics %as% gr
#' gr$plot
#' @export
`%as%` <- function(pkg, nm) {
assign_alias(deparse(substitute(nm)), deparse(substitute(pkg)))
invisible(NULL)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.