R/myfirstfun.R

Defines functions myfirstfun

Documented in myfirstfun

#' @title My First R 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
}
medgar591/MATH4753EDGAR documentation built on Dec. 21, 2021, 4:52 p.m.