[R] levels x-axis (histogram)

Christian Schulz ozric at web.de
Sun Mar 14 15:39:19 CET 2004


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?

Many thanks, christian

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

> is.factor(dmy$AKTIVE)
[1] TRUE
> fr(dmy$AKTIVE)
      Count     Prcnt
Nein  53954  77.00234
Ja    16114  22.99766
Total 70068 100.00000




More information about the R-help mailing list