Add shading to a gantt chart to delineate weekends
问题 I have created a gantt chart using ggplot, code below: # load packages require("ggplot2") require("reshape2") ############################################################################### # Create list of tasks name strings. tasks <- c("Write introduction", "Parse citation data", "Construct data timeline", "Write methods", "Model formulation", "Model selection", "Write results", "Write discussion", "Write abstract and editing") # Compile dataframe of task names, and respective start and end