Plotly (1) is a great graphics library for producing dynamic plots. It also has an R interface. A simple example of a Gantt chart with R/plotly is shown in (2). Here is a more complicated version: a job shop problem with 10 jobs and 10 stages (3).
The colors correspond to the machine used in each stage. Machines are numbered 0…9.
References
- Plotly: https://plot.ly/
- https://www.r-bloggers.com/gantt-charts-in-r-using-plotly/
- Playing with job shop problem ft10 (1), http://yetanothermathprogrammingconsultant.blogspot.com/2014/04/playing-with-ft10-job-shop-1.html
No comments:
Post a Comment