Hello Dr. Winsemius,

Not sure how or if the use of NAs you describe applies to my case. I'll go back 
to this again when the ggplot2 book arrives. It may be that this will provide a 
helpful insight then.

Thanks,

Paul

--- On Fri, 3/23/12, David Winsemius <dwinsem...@comcast.net> wrote:

> From: David Winsemius <dwinsem...@comcast.net>
> Subject: Re: [R] Plotting patient drug timelines using ggplot2 (or some other 
> means) -- Help!!!
> To: "Paul Miller" <pjmiller...@yahoo.com>
> Cc: "R. Michael Weylandt" <michael.weyla...@gmail.com>, "Petr PIKAL" 
> <petr.pi...@precheza.cz>, "Bert Gunter" <gunter.ber...@gene.com>, 
> r-help@r-project.org
> Received: Friday, March 23, 2012, 1:23 PM
> 
> On Mar 23, 2012, at 2:15 PM, Paul Miller wrote:
> 
> > Hi Michael and Petr,
> > 
> > Apologize for my failure to grasp what you were saying.
> My code is up and running now.
> > 
> > Noticed what might be a shortcoming of my ggplot code.
> I have some instances where a drug starts and stops and then
> starts and stops again. It looks like my graphs show just a
> single unbroken line segment though.
> 
> Put in NA entries at times you do not want plotted. Not sure
> exactly how that gets handled in ggplot but since plotting
> nothing was the "usual" behavior in base and lattice
> graphics, I would think that would have gotten carried
> over.
> 
> 
> > I ordered Hadley Wickham's ggplot2 book earlier today.
> So hopefully I'll be able to figure that out myself once the
> book arrives.
> > 
> > Thank you Michael, Petr, and Bert for your help with
> this. Thanks especially to Michael for patiently answering
> all my questions over the last day or so.
> > 
> > Paul
> 
> 
> David Winsemius, MD
> West Hartford, CT
> 
>

______________________________________________
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.

Reply via email to