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 componets
#' @export
#'
#' @examples
#' y <- 1:10; myfirstfun(y)
myfirstfun <- function(x){
  x^2
}
dkmeadows/MATH4753MEADOWS documentation built on Feb. 27, 2021, 12:35 a.m.