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
}
scottie-curtis/MATH4753CURTIS documentation built on April 28, 2021, 9:23 p.m.