R/myfirstfun.R

Defines functions myfirstfun

Documented in myfirstfun

#' My first function
#'
#' @param x a vector of quantitative data
#'
#' @return a vector of squared components
#' @export
#'
#' @examples
#' y <- 1:10
#' myfirstfun(y)
myfirstfun <- function(x){
  x^2
}
leahpom/MATH5793POMERANTZ documentation built on May 10, 2021, 9:52 a.m.