R/myfirstfunction.R

Defines functions myfirstfunction

Documented in myfirstfunction

#' @title My first function
#'
#' @param x A vector of quantitative data
#'
#' @return A vector of squared components
#' @export
#'
#' @examples
#' y <- 1:10; myfirstfunction(y)
myfirstfunction <- function(x){
  x^2
}
Jacob-R-Davis/MATH4753.Davis documentation built on April 24, 2021, 7:46 a.m.