safteystock_CSL_normal: safteystock_CSL_normal

View source: R/safteystock_CSL_normal.R

safteystock_CSL_normalR Documentation

safteystock_CSL_normal

Description

calculating saftey stock based on cycle service level rate.

Usage

safteystock_CSL_normal(
  rate,
  quantity,
  demand,
  standerddeviation,
  leadtime,
  na.rm = TRUE
)

Arguments

rate,

cycle service level requested.

quantity

quantity ordered every cycle.

demand

numeric, expected annual demand of the SKU.

standerddeviation

numeric annual standard deviation of the demand.

leadtime

numeric,leadtime of order in weeks.

na.rm

logical with a default of TRUE

Details

calculating saftey stock and expected unit short based on the cycle service identified assuming a normal distribution.

Value

a dataframe that contains calculations of the expected profit from a newsvendor model based on normal distribution.

Author(s)

"haytham omar email: <haytham@rescaleanalytics.com>"

Examples

safteystock_CSL_normal(rate=0.95,quantity=30000,demand=28000,standerddeviation=5000,8,na.rm=TRUE)

inventorize documentation built on June 1, 2022, 1:07 a.m.