R/myfirstfunction.R

Defines functions myfirstfunction

Documented in myfirstfunction

#' @title 'My First R Function'
#'
#' @param x A vector of quantitative data.
#'
#' @return A vector of squared components.
#' @export
#'
#' @examples
#' y <- 1:10; myfirstfunction
myfirstfunction <- function(x){
  x^2
}
RILEYBYNUM/MATH4753BYNUM documentation built on April 25, 2021, 1:46 a.m.