From c9fa78761a34ca5b0f1efbf9607c5866a4c40bd2 Mon Sep 17 00:00:00 2001 From: MSPoppell Date: Thu, 5 Feb 2026 11:54:49 -0500 Subject: [PATCH] multiplication.R --- R/multiplication.R | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 R/multiplication.R diff --git a/R/multiplication.R b/R/multiplication.R new file mode 100644 index 0000000..2018d30 --- /dev/null +++ b/R/multiplication.R @@ -0,0 +1,17 @@ +#' This is a multiplication function. +#' +#' @param x this is the first value to multiply +#' @ param y this is the second valume to multiply +#' +#' @return This function returns the product of x and y +#' +#' @examples +#' ## Start with something simple +#' mult(1,2) +#' +#' ## Now something more difficult +#' mult(123,321) +#' +#' @export + +mult <- function(x, y){x * y}