Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ Authors@R:
role = c("aut", "cre"),
email = "wevanjohnson@gmail.com",
comment = c(ORCID = "YOUR-ORCID-ID"))

person(given = "Abrar",
family = "Awadeh",
role = c("aut"),
email = "abrarawadeh@gmail.com")

Description: This is my new package to do addition, subtraction, and multiplication
License: Artistic 2.0
Encoding: UTF-8
Expand Down
18 changes: 18 additions & 0 deletions R/multiply.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#' This is my multiplication function
#'
#' @param x this is my first value to multiply
#' @param y this is my 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}