R/myf.R

Defines functions myf

Documented in myf

#' Square function
#'
#' takes vector and returns vector of squared compnents
#'
#' @param x
#'
#' @return a vector of squared components
#' @export
#'
#' @examples
#' x=1:20; myf(x)
myf = function(x){
  x^2
}
colehartman930/MATH4753PROJ1 documentation built on Jan. 15, 2022, 12:34 a.m.