.sim2gantt | R Documentation |
Internal function to convert the completed events list of a simList
object to a list of data.frame
s suitable to pass to a call to
DiagrammeR::mermaid
to make a Gantt chart representing the
events in a completed simulation.
.sim2gantt(sim, n, startDate, width)
## S4 method for signature 'simList,numeric,character,numeric'
.sim2gantt(sim, n, startDate, width)
sim |
A |
n |
The number of most recently completed events to plot. |
startDate |
A character representation of date in |
width |
Numeric. Passed to determine scale of vertical bars. |
A list of data.frames
Alex Chubaty
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.