[R] levels x-axis (histogram)

Deepayan Sarkar deepayan at stat.wisc.edu
Sat Mar 13 15:54:59 CET 2004


On Sunday 14 March 2004 08:39, Christian Schulz wrote:
> Hi,
>
> how it's possible to get the level values (not the numeric values!)
> on the x-axis in a lattice histogram?  I found nothing related
> in archives and my my attempts didn't success , but AKTIVE is a
> factor?

I guess this would qualify as a bug. It should be fixed by R 1.9.0, for 
now, a possible workaround is to add

histogram( ~AKTIVE | BIRTHMONTH,aspect=1,xlab="Geburtsmonat",data=dmy,
          xlim = levels(dmy$AKTIVE))

Deepayan




More information about the R-help mailing list