R/myfirstfun.R

Defines functions 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
}
JakeJackson1999/MATH4753JACKSON documentation built on March 19, 2021, 9:45 a.m.