diff --git a/DESCRIPTION b/DESCRIPTION index a5e6300..0e26e11 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -7,6 +7,10 @@ Authors@R: role = c("aut", "cre"), email = "wevanjohnson@gmail.com", comment = c(ORCID = "YOUR-ORCID-ID")) + person(given = "Snigdha", + family = "Puram", + email = "spuram18@gmail.com", + role = "aut") Description: This is my new package to do addition, subtraction, and multiplication License: Artistic 2.0 Encoding: UTF-8 diff --git a/R/multiply.R b/R/multiply.R new file mode 100644 index 0000000..83b184b --- /dev/null +++ b/R/multiply.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 +#' multiply(2, 3) +#' +#' ## Now something more difficult +#' multiply(7, 8) +#' +#' @export + +multiply <- function(x, y){x*y} \ No newline at end of file