diff --git a/NAMESPACE b/NAMESPACE index 00434f0..0982562 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -1,6 +1,8 @@ # Generated by roxygen2: do not edit by hand +S3method("&","ggplot2::gg") S3method("&",gg) +S3method("*","ggplot2::gg") S3method("*",gg) S3method("-",ggplot) S3method("/",ggplot) diff --git a/R/arithmetic.R b/R/arithmetic.R index b0434b5..084cbed 100644 --- a/R/arithmetic.R +++ b/R/arithmetic.R @@ -141,3 +141,9 @@ NULL } e1 + e2 } + +#' @export +"*.ggplot2::gg" <- `*.gg` + +#' @export +"&.ggplot2::gg" <- `&.gg`