Animate.gantt_plot | R Documentation |
gantt_plot
- Animate discourse from gantt_wrap
,
gantt_plot
, or any other Gantt plotting method.
## S3 method for class 'gantt_plot'
Animate(x, wc.time = TRUE, time.constant = 2, colors = NULL, ...)
x |
The gantt_plot object. |
wc.time |
logical. If |
time.constant |
A constant to divide the maximum word count by. Time is calculated by 'round(exp(WORD COUNT/(max(WORD COUNT)/time.constant)))'. Therefore a larger constant will make the difference between the large and small word counts greater. |
colors |
An optional character vector of colors to color the Gantt bars. Must be length 1 (repeats the same color) or equal to the levels of the grouping variable. |
... |
ignored |
gantt_plot Method for Animate
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.