Skip to content
Open
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
17 changes: 17 additions & 0 deletions R/mult.R
Original file line number Diff line number Diff line change
@@ -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
#' mult(1,1)
#'
#' ## Now something more difficult
#' mult(49,60)
#'
#' @export

mult <- function(x,y){x*y}