diff --git a/DESCRIPTION b/DESCRIPTION index a5e6300..1e9eafc 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -2,11 +2,11 @@ Package: my.package Title: This is my first R package Version: 0.0.0.9000 Authors@R: - person(given = "Evan", - family = "Johnson", + person(given = "Chris", + family = "Hegde", role = c("aut", "cre"), - email = "wevanjohnson@gmail.com", - comment = c(ORCID = "YOUR-ORCID-ID")) + email = "ch1199@gsbs.rutgers.edu", + comment = c("https://orcid.org/0000-0002-1386-4524")) 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..8b7657d --- /dev/null +++ b/R/multiply.R @@ -0,0 +1,17 @@ +#' This is my multiply function +#' +#' @param x this is the first value +#' @param y this is the second value to multiply +#' +#' @return This function returns the product of x and y +#' +#' @examples +#' ## Easy +#' multiply(1,2) +#' +#' ## Intermediate +#' multiply(55,45) +#' +#' @export +multiply <- function(x,y){x*y} +