R/compute_delta_demand.R

Defines functions compute_delta_demand

Documented in compute_delta_demand

#' Compute delta demand assuming constan elasticity
#' 
#' @param elas A numeric (constant) elasticity.
#' @param delta_revenue A numeric of delta revenue (difference in revenue).
#' @author Alexander Kheirallah ([email protected])
#' @export 
#' 
compute_delta_demand = function(elas,delta_revenue){
  return(elas * delta_revenue)
}
msxakk89/dat documentation built on March 25, 2020, 3:18 p.m.