plot.supplystack: plot.supplystack

Description Usage Arguments Examples

Description

Plot a supplystack object

Usage

1
2
3
## S3 method for class 'supplystack'
plot(x, plot_names = TRUE, names_cutoff = 0.1,
  rect_col = NULL, rect_border = "white", ...)

Arguments

x

supplystack object to be plotted.

plot_names

Optional boolean. Should names be plotted on the stack?

names_cutoff

Optional numeric. Cutoff for plotting of names. Suppliers with total Q less than this proportion of the total will not be plotted. Defaults to 0.10.

rect_col

Optional character. Color of shaded rectangles or NULL for none. Should be one value for basic supply stack or a vector for multi cost stacks.

rect_border

Optional character. Color of rectangle borders or NA for none.

...

Other graphical arguments excluding "ann".

Examples

1
plot(supplystack(c(10, 20, 30), c(30, 20, 10)), rect_border="darkblue")

ccwoolfolk/supplystack documentation built on May 13, 2019, 2:18 p.m.