Learn R Programming

SpaDES.core (version 2.0.5)

ganttStatus: ganttStatus

Description

Internal function assign the "status" of each event to be passed to DiagrammeR::mermaid() to make a Gantt chart representing the events in a completed simulation. init events are set as "done"; plot events as "critical"; and all others as "active".

Usage

ganttStatus(eventType)

# S4 method for character ganttStatus(eventType)

Value

A character vector.

Arguments

eventType

Character vector of events.

Author

Alex Chubaty