#' An s4 generic #' #' @export #' @aliases multi_method,ANY,ANY-method setGeneric("multi_method", function(x, y) { x }) #' @rdname multi_method #' @export setMethod("multi_method", signature(x = "numeric"), function(x, y) { x }) #' @rdname multi_method #' @export setMethod("multi_method", signature(x = "numeric", y = "integer"), function(x, y) { x })
Generated by dwww version 1.15 on Sat May 18 12:12:31 CEST 2024.