Learn R Programming

inventorize (version 1.1.1)

eoq: eoq

Description

economic order quantity.

Usage

eoq(annualdemand, orderingcost, purchasecost, holdingrate, na.rm = TRUE)

Arguments

annualdemand

numeric,annual demand of the SKU.

orderingcost,

numeric ordeing cost of the SKU

purchasecost

,numeric, purchase cost per item

holdingrate

numeric holding rate per item per year.

na.rm

A logical indicating whether missing values should be removed

Value

the eoq,cycle stock time in years and cycle stock time in weeks.

Examples

Run this code
# NOT RUN {
eoq(annualdemand=5000,orderingcost=400,purchasecost=140,holdingrate=0.2,na.rm=TRUE)
# }

Run the code above in your browser using DataLab