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
}
jacob-moser/MATH4793MOSER documentation built on Dec. 20, 2021, 8:07 p.m.