adjust_position <- function(stat, data, xrange, yrange) {
UseMethod("adjust_position")
}
adjust_from_call <- function(name, arguments = NULL) {
if (is.null(arguments)) {
parent <- sys.frame(-1)
arguments <- as.list(parent)
}
structure(arguments, class = c(name, "adjust"))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.