R/increment.R

#' Increment operator
#'
#' used to increment days in quarantine
#'
#' @param e1 ...
#' @param e2 ...
#' @export
'%+=%' <- function(e1, e2) {
  eval.parent(substitute(e1 <- e1 + e2))
}
jakedilliott/covidfireMASS documentation built on Dec. 20, 2021, 8:59 p.m.