Animate.gantt: Gantt Durations

View source: R/gantt.R

Animate.ganttR Documentation

Gantt Durations

Description

gantt - Animate discourse from gantt.

Usage

## S3 method for class 'gantt'
Animate(x, wc.time = TRUE, time.constant = 2, colors = NULL, ...)

Arguments

x

The gantt object.

wc.time

logical. If TRUE weights duration of frame by word count.

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.

...

Other arguments passed to gantt_wrap.

Details

gantt Method for Animate


qdap documentation built on May 31, 2023, 5:20 p.m.