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
}
yut4916/MATH5793YUT documentation built on Dec. 23, 2021, 8:21 p.m.