R/Support.R

Defines functions delta Add

Documented in Add delta

#Support eqauations



#'@title Delta
#'@param xf The final value
#'@param xi The initial value
#'@description The function subtracts the 2nd value from the 1st value
#'@return The difference of the final value and the initial value
#'@export
delta <- function(xi, xf){
  return(xf - xi)
}




#'@title Add
#'@param b The final value
#'@param a The initial value
#'@description The function adds the inital and final value
#'@return The addition of the final value and the initial value
#'@export
Add <- function(a, b){
  return(a + b)
}
Afrochemist/RPhysics documentation built on May 23, 2019, 4:03 a.m.