[R] barchart in trellis and NA

2007-06-21 Thread Sigbert Klinke
Hi,

I've a dataset with discrete data and several groups and in one group I 
have also missing values (NA). When I use table and barchart to 
visualize the counts I never get a bar for  NA in the barchart although 
it appears in the result of table. Is there a possibility to get this 
bar too?

Thanks in advance  Sigbert Klinke

__
R-help@stat.math.ethz.ch 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.


Re: [R] barchart in trellis and NA

2007-06-21 Thread Deepayan Sarkar
On 6/21/07, Sigbert Klinke <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I've a dataset with discrete data and several groups and in one group I
> have also missing values (NA). When I use table and barchart to
> visualize the counts I never get a bar for  NA in the barchart although
> it appears in the result of table. Is there a possibility to get this
> bar too?

Please give a reproducible example, because it's not clear to me what
exactly is supposed to be NA.

-Deepayan

__
R-help@stat.math.ethz.ch 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.