Learn R Programming

inventorize (version 1.1.1)

CSOE: CSOE

Description

Cost per stockout event

Usage

CSOE(
  quantity,
  demand,
  standerddeviation,
  leadtimeinweeks,
  cost,
  costSoe,
  holdingrate,
  na.rm = TRUE
)

Arguments

quantity,

numeric,quantity replinished every cycle.

demand

numeric,annual Expected demand of the SKU .

standerddeviation

numeric, standard deviation of the SKU during season.

leadtimeinweeks

numeric,leadtime in weeks of order.

cost

numeric,cost of item.

costSoe

numeric, estimated cost per stockout event.

holdingrate

numeric, holding rate per item per year,percentage.

na.rm

removes na values if TRUE, TRUE by default

Value

a dataframe that contains calculations of K and the minimum quantity to be put in stock .

Details

Calculating K value that corresponds to the cost per stock out event, how much quantity should be put in stock as a minimum.the function solves for optimum K based on the stock out event. It should be noted that the condition(output) should be bigger than 1. other wise set K as per management.

Examples

Run this code
# NOT RUN {
CSOE(quantity=1000,demand=40000,standerddeviation=200,leadtimeinweeks=3,
cost=500,costSoe=30000,holdingrate=0.2,na.rm=TRUE)
# }

Run the code above in your browser using DataLab