diff --git a/DESCRIPTION b/DESCRIPTION index a5e6300..142a397 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -7,6 +7,11 @@ Authors@R: role = c("aut", "cre"), email = "wevanjohnson@gmail.com", comment = c(ORCID = "YOUR-ORCID-ID")) + person(given = "Paul", + family = "Lee" + role = c("aut", "cre"), + email = "pjl165@gsbs.rutgers.edu", + comment = c(ORCID = "YOUR-ORCID-ID")) 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..4fb8f57 --- /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 +#' product(1,1) +#' +#' ## Now something more difficult +#' product(49,60) +#' +#' @export + +product <- function(x,y){x*y} \ No newline at end of file