How can I make a swimmer plot?
The data are structured in columns as follows:
- Patient_ID
2, Event_Shape (shape for symbols that denote a common event, eg TREATMENT symbols can be circles, RESPONSE symbols triangles…) - Event_Color (color for each level of the Event_Shape, e.g., red circle = chemotherapy, blue circle = immunotherapy etc.)
- Start date
- End date
Start date and end date are the SAME for symbols, but different for “events” that continue over several weeks or months and so should be plotted as lines?