Description Usage Arguments Value Examples
View source: R/AbsorptionGraphicFunction.R
Creates a stacked bar chart of absorption numbers by value stream. The plot is facetted by plant and provides 2 points for comparison. The chart can be used to compare actuals against a forecast or two forecasts.
1 2 |
x |
dataframe with 4 columns. The columns should be as follows:
|
labels |
vector of lenghth two. Labels for the stacked bars |
barwidth |
width of bars |
col |
color scheme |
ggpplot object
1 2 3 4 5 | dat<- data.frame(VS= paste0("VS", 1:3),
comp1= c(4:6)*1000,
comp2= c(5:7)*1000,
Plant= rep("Rar",3))
AbsorptionGraphic(dat, c("FCST","ACT"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.