From b6e32ad7e40210dee4733c4e759bc2cbf4755088 Mon Sep 17 00:00:00 2001 From: Eric Tang Date: Mon, 10 Feb 2025 21:08:46 -0500 Subject: [PATCH] Added mult.R --- R/mult.R | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 R/mult.R diff --git a/R/mult.R b/R/mult.R new file mode 100644 index 0000000..e2f0cf9 --- /dev/null +++ b/R/mult.R @@ -0,0 +1,17 @@ +#' This is my multiplication function +#' +#' @param x this is the first value to multiply +#' @param y this is the second value to multiply +#' +#' @return This function returns the product of x and y +#' +#' @examples +#' ## Start with something simple +#' mult(1,1) +#' +#' ## Now something more difficult +#' mult(49,60) +#' +#' @export + +mult <- function(x,y){x*y}