powered by
calculating saftey stock based on cycle service level rate.
safteystock_CSL_normal( rate, quantity, demand, standerddeviation, leadtime, na.rm = TRUE )
cycle service level requested.
quantity ordered every cycle.
numeric, expected annual demand of the SKU.
numeric annual standard deviation of the demand.
numeric,leadtime of order in weeks.
logical with a default of TRUE
a dataframe that contains calculations of the expected profit from a newsvendor model based on normal distribution.
calculating saftey stock and expected unit short based on the cycle service identified assuming a normal distribution.
# NOT RUN { safteystock_CSL_normal(rate=0.95,quantity=30000,demand=28000,standerddeviation=5000,8,na.rm=TRUE) # }
Run the code above in your browser using DataLab