Hi,


I've a question about the qplot. I use facets=Antibiotics~Gram.Stainng to draw 
6 plots in a panel. Now the problem is within each 'Gram.Staining' categorical 
level there are some antibiotics does not have value (in my case is log(MIU)). 
Because some antibiotics are positive gram staining and some are negative.



So my question is how to remove these missing value rows in the plot?



My code is

qplot(Bacteria,log(MIC),data=project2,facets=Gram.Staining~Antibiotics,color=Bacteria,geom='bar',stat='identity',fill=Bacteria,na.rm=TRUE)+coord_flip()



I also enclose my plot.



Thank you!



Wang Zhensheng





________________________________

This e-mail message (including any attachments) is for the sole use of
the intended recipient(s) and may contain confidential and privileged
information. If the reader of this message is not the intended
recipient, you are hereby notified that any dissemination, distribution
or copying of this message (including any attachments) is strictly
prohibited.

If you have received this message in error, please contact
the sender by reply e-mail message and destroy all copies of the
original message (including attachments).
______________________________________________
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