plotST: Produces a saw tooth continuous review inventory plot with...

Description Usage Arguments Value Examples

Description

Produces a saw tooth continuous review inventory plot with user supplied parameters

Usage

1
2
plotST(SL, EOQ = NULL, Dmd = NULL, LT = NULL, cycleLimits = 2,
  catNames = NULL, xMax = NULL, plotLTs = FALSE, FR = TRUE, ...)

Arguments

SL

numeric, planned minimum safety level to honor or data.frame with at minimum EOQ, Sl, Dmd, and LT

EOQ

Item Order Quantity

Dmd

numeric, demand per unit time

LT

numeric, lead time

cycleLimits

how many saw tooth cycles to draw

catNames

names for each sawtooth

xMax

if provided provide explicit maximum for x-axis

plotLTs

if TRUE provide LT information

FR

logical, if TRUE, estimate Fill Rate

...

additional parameters, for plot output

Value

gg

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
## Not run: 
plotST(ROP = 4, EOQ = 2, Dmd = 1, LT = 2, plotLTs = TRUE)
plotST(ROP = c(2,3,4), EOQ = c(1,2,3), Dmd = c(2,2,2), LT = 2, plotLTs = TRUE)
plotST(ROP = 4, EOQ = 1.5, Dmd = 1, LT = 2, xMax = 10, plotLTs = FALSE)
plotST(ROP = 4, EOQ = 4, Dmd = 1, LT = 2, cycleLimits = 2, plotLTs = TRUE)

paramDb <- data.frame(ROP = c(2,3,4),
                      EOQ = c(1,2,3),
                      Dmd = c(4,2.5,2.2),
                      LT =  c(1,1,1),
                      Title = paste("Item", 1:3, sep = " "))
plotST(paramDb)


## End(Not run)

duncanrellis/SawTooth documentation built on May 24, 2019, 5:03 a.m.