A convenience function that wraps gantt, gantt_rep and gantt_wrap into a single plotting function.
gantt_plot( text.var, grouping.var =NULL, rm.var =NULL, fill.var =NULL, xlab ="duration (in words)", units ="words", col.sep ="__",...)
Arguments
text.var: The text variable.
grouping.var: The grouping variables. Also takes a single grouping variable or a list of 1 or more grouping variables.
rm.var: An optional single vector or list of 1 or 2 of repeated measures to facet by
fill.var: An optional variable to fill the code strips by.
xlab: The name of the x-axis label.
units: The unit of measurement.
col.sep: The column separator.
``: Other arguments passed to gantt_wrap.
Returns
Returns a Gantt style visualization. Invisibly returns the ggplot2 list object.
Note
For non-repeated measures data/plotting use gantt; for repeated measures data output use gantt_rep; and for a flexible gantt plot that words with code matrix functions (cm) use gantt_wrap.