[R] table for weighted observations

Kunzler, Andreas a.kunzler at bzaek.de
Mon Nov 24 12:39:18 CET 2008

Dear List,

I ran into some problems with weighted observations. I am looking for a frequency table listing the frequencies of the whole year as well as the frequencies of first and second half-year. The observation is of the class factor. There are characteristics that have the frequency 0 in one of the half-years. 

I use 
but unfortunately the 0-frequancy characteristics are not shown.

I hope someone knows how to create weighted frequency-tables containing 0-frequency characteristics like eg:

Table year

A 2
B 3
C 1
D 1

Table First Half

A 1
B 1
C 0
D 1

Table Second Half

A 1
B 2
C 1
D 0

Mit freundlichen Grüßen

Andreas Kunzler
Bundeszahnärztekammer (BZÄK)
Chausseestraße 13
10115 Berlin

Tel.: 030 40005-113
Fax:  030 40005-119

E-Mail: a.kunzler at bzaek.de 

More information about the R-help mailing list