Learn R Programming

inventorize (version 1.1.1)

saftey_stock_normal: saftey_stock_normal

Description

Calculating saftey stock based on the cycle service level.

Usage

saftey_stock_normal(
  annualdemand,
  annualstandarddeviation,
  leadtimeinweeks,
  csl,
  na.rm = TRUE
)

Arguments

annualdemand

numeric,annual Expected demand of the SKU .

annualstandarddeviation

numeric, standard deviation of the SKU during season.

leadtimeinweeks

leadtime in weeks or order.

csl

cycle service level requested

na.rm

Logical, remove na if TRUE

Value

a dataframe that contains calculations of K the cost per item short metric noting that condition must me less than 1.

Details

Calculating saftey stock based on the cycle service level in an assumed normal distribution.

Examples

Run this code
# NOT RUN {
saftey_stock_normal(annualdemand=8000,annualstandarddeviation=600,
leadtimeinweeks=4,csl=0.92,na.rm=TRUE)
# }

Run the code above in your browser using DataLab