R/myf.R

Defines functions myf

Documented in myf

#' Square function
#'
#' Takes a vector and returns a vector of squared components.
#'
#' @param x
#'
#' @return A vector of squared components
#' @export
#'
#' @examples x=1:30; myf(x)
myf=function(x){
  x^2
}
draket333/MATH4753tayl0062 documentation built on Sept. 10, 2020, 11:49 a.m.