R/myfirstfun.R

Defines functions myfirstfun

Documented in myfirstfun

#' Title
#' @title My first R function
#'
#' @param x A vector of quantitative data
#'
#' @return A vector of squared components
#' @export
#'
#' @examples
#' \dontrun{y<- 1:10; myfirstfun(y)}
myfirstfun <- function(x) {
  x^2
}
DevinMcAfee123/MATH4753MCAFEE documentation built on April 27, 2021, 4:31 a.m.