#' Compounded addition
#' @export
#' @param x The object to increment.
#' @param y The value by which to increment.
`%+%` <- function(x, y){
eval.parent(substitute(x <- x + y))
}
#' Compounded multiplication
#' @export
#' @param x The object to increment.
#' @param y The value by which to increment.
`%**%` <- function(x, y){
eval.parent(substitute(x <- x * y))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.