R/myf.R

Defines functions mysqFunction

Documented in mysqFunction

#' Square Function
#'
#' Takes a vector and returns a vector of squared components
#'
#' @param x
#'
#' @return a vector of squared components in the form of a vector object
#' @export
#'
#' @examples
#' x=1:30;myf(x)
mysqFunction=function(x){
  x^2
}
mysqFunction(5)
oolugbami/Math4753Final documentation built on April 25, 2020, 5:17 p.m.