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 in the form of a vector object
#' @export
#'
#' @examples
#' x=1:30; myf(x)
myf=function(x) {
  x^3
}
calwatson40/SPRING224753wats0079 documentation built on Jan. 29, 2022, 7:27 p.m.