R/myf.R

Defines functions myf

Documented in myf

#' @title Exponent calculation
#' @description A function that calculates the value of x^2.
#' @param x any integer
#'
#' @return a vector of squared components in the form of a vector project
#' @export
#'
#' @examples myf(4) = 16
#'
myf = function(x){
  x^2
}
msears8/PROJ1.STATS documentation built on Nov. 23, 2020, 11:29 p.m.