[R] barplot with some 0 frequencies

David Winsemius dwinsemius at comcast.net
Fri Oct 5 06:05:27 CEST 2012

On Oct 4, 2012, at 4:49 PM, Guillaume2883 wrote:

> Hi all,
> I am back with a new question !
> I recorded the occurence of 4 differents event on 20 places for a given time
> period.
> Now, I want to do some barplot of the frequency of theses events for each
> place, so it should be easy. My problem is that I want to see the
> frequencies of the 4 events on my barplots even if the frequency of some of
> them is 0. 
> How could I do that ?

Put a big zero on the axis?

David Winsemius, MD
Alameda, CA, USA

More information about the R-help mailing list