[R] Simple Gantt like chart for numbers rather dates

Jim Lemon jim at bitwrit.com.au
Sun Oct 19 11:51:42 CEST 2008


Gabor Grothendieck wrote:
> You could consider modifying the code for gantt.chart in plotrix.
>
> On Fri, Oct 17, 2008 at 3:22 PM, Graham Smith <myotisone at gmail.com> wrote:
>   
>> I would like to produce a chart that looks like a Gantt chart (or
>> shingle plot), but instead of tasks you have variable names and
>> instead of start and finish dates you have an upper and lower numeric
>> value.
>>
>> If that makes sense, is there an obvious way of doing this.
>>     
Hi Graham,
Gabor is right, gantt.chart comes close but you will have to change all 
the POSIXct axis calls to plain old axis calls and manually create the 
list of gantt.info with the x values as numbers.

Jim



More information about the R-help mailing list