R/example-documentation.R

Defines functions my_func

Documented in my_func

#' Sample R function
#'
#' For this function, we...
#'
#' @param x,y `numeric` Data vectors
#'
#' @return A single `numeric` value
#'
#' @author
#' Blame this person
#'
#' @export
#' @examples
#'
#' my_func(1:2, 3:4)
#'
my_func = function(x, y){
    x + y
}
tmsalab/tmsapkg documentation built on May 20, 2019, 12:37 p.m.