Great. Thanks for a quick reply. That will work I guess. Although, can I use float values instead of dates? so that the "gantt.info" starts and end values are floats instead of dates? or will I have to work around this ? Thanks again, Lars
On Tue, Sep 22, 2009 at 2:42 PM, David Winsemius <dwinsem...@comcast.net>wrote: > I think you might be looking for a Gantt chart: > > http://finzi.psych.upenn.edu/R/library/plotrix/html/gantt.chart.html > > > On Sep 22, 2009, at 5:14 PM, Lars Skjærven wrote: > > Dear R users, >> I want to make a barplot with bars that can be non-continuous. An example >> will be the presence and absence of some events over time, e.g. a bunch of >> people that are either in the office or not in the office, for some period >> of time. I want to visualize this in a bar plot like this: >> >> Person 1: ********* ******** ******* >> Person 2: ********* ***** ********** >> Person 3: ************** *********** >> >> Any tips on how this can be done? >> > -- > > David Winsemius, MD > Heritage Laboratories > West Hartford, CT > > [[alternative HTML version deleted]]
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.