diff --git a/DESCRIPTION b/DESCRIPTION index e8a4ffb..2ca8594 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -2,7 +2,7 @@ Package: my.package Title: This is my first R package Version: 0.0.0.9000 Authors@R: - person(given = "W. Evan", + person(given = "William. Evan", family = "Johnson", role = c("aut", "cre"), email = "w.evan.johnson@rutgers.edu", diff --git a/R/multiplicationR.R b/R/multiplicationR.R new file mode 100644 index 0000000..e69de29 diff --git a/R/subtract copy.R b/R/subtract copy.R new file mode 100644 index 0000000..e811ab9 --- /dev/null +++ b/R/subtract copy.R @@ -0,0 +1,16 @@ +#' This is my subtract function +#' +#' @param x this is the first value +#' @param y this is the second value to subtract +#' +#' @return This function returns the difference of x and y +#' +#' @examples +#' ## Start with something simple +#' subtract(1,1) +#' +#' ## Now something more difficult +#' subtract(49,60) +#' +#' @export +subtract <- function(x,y){x-y} diff --git a/multiplicationR.R b/multiplicationR.R new file mode 100644 index 0000000..e69de29