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
}
jRotondo19/MATH4753ROTONDO documentation built on Feb. 18, 2021, 12:06 a.m.