Whatever wtd.table is (probably in some package you have not told us about). The ordinary function table shows 0-frequency, though.

Uwe Ligges



Kunzler, Andreas wrote:
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 wtd.table
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



Thanx
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: [EMAIL PROTECTED]
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to