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.