plot.EOQ: plot.EOQ

Description Usage Arguments Examples

View source: R/plot.EOQ.R

Description

S3 method to plot a EOQ object by using the generic plot function. Plots the scheme of the EOQ model.

Usage

1
2
## S3 method for class 'EOQ'
plot(x, ...)

Arguments

x

EOQ object.

...

Aditional arguments.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
## Not run: 
l <- 520
k <- 10
I <- 0.2
C <- 5

res <- EOQ(l = l, k = k, I = I, C = C)
res
plot(res)

res2 <- EOQd(dis = c(0, 0.05, 0.1), l = 520, k = 10, I = 0.2, q = c(0, 110, 150), c = 5)
plot(res2)


## End(Not run)

sidoruvigo/EOQd documentation built on May 16, 2019, 11:13 p.m.