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; mfy(x)
#'
myf <- function(x){
  x^2
}
casspants/MATH4753kran1018 documentation built on Nov. 26, 2020, 1:12 p.m.