R/myfirstfun.R

Defines functions myfirstfun

Documented in myfirstfun

#' @title 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
}
chadc1050/MATH4753COTTON documentation built on Dec. 19, 2021, 2:59 p.m.