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
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