R/myf.R

Defines functions myf

Documented in myf

#' Square function
#'
#' Takes  vector and returns a vectorof squared components
#'
#' @param x
#'
#' @return a vector of squared components in the form of a vector object.
#' @export
#'
#' @examples
#' x=1:30; myf(x)
myf=function(x){
  x^2
}
ReeseMishler/MATH4753PROJ1 documentation built on Dec. 18, 2021, 9:56 a.m.