Re: [R] Showing zero frequencies with xtabs

2011-08-30 Thread Luca Meyer
Thanks Peter & Petr, It was indeed an issue of having some character variables in there. Now it works just fine. Cheers, Luca Il giorno 30/ago/2011, alle ore 10.15, peter dalgaard ha scritto: > > On Aug 30, 2011, at 10:04 , Luca Meyer wrote: > >> Hi, >> >> Does anyone know how to show zero

Re: [R] Showing zero frequencies with xtabs

2011-08-30 Thread Petr PIKAL
Hi > > Hi, > > Does anyone know how to show zero frequencies variable levels with the > xtabs command? They show with the table(x,y) command but I need to apply > weight to frequency tables and I also need to cbind several tables > together, which implies that they all need to show the same n

Re: [R] Showing zero frequencies with xtabs

2011-08-30 Thread peter dalgaard
On Aug 30, 2011, at 10:04 , Luca Meyer wrote: > Hi, > > Does anyone know how to show zero frequencies variable levels with the xtabs > command? They show with the table(x,y) command but I need to apply weight to > frequency tables and I also need to cbind several tables together, which > impl

[R] Showing zero frequencies with xtabs

2011-08-30 Thread Luca Meyer
Hi, Does anyone know how to show zero frequencies variable levels with the xtabs command? They show with the table(x,y) command but I need to apply weight to frequency tables and I also need to cbind several tables together, which implies that they all need to show the same number of rows. Al