[R] weight cases?

Adrian Dusa dusa.adrian at gmail.com
Sat Oct 14 16:15:42 CEST 2006


On Saturday 14 October 2006 16:52, Gabor Grothendieck wrote:
> Try this (and round the result to make to it comparable to your
> calculation):
>
> xtabs(weight ~ var1 + var2, my.data)

Oh yes... :)
It was so simple. Thanks for the cov.wt() as well.

Regards,
Adrian

-- 
Adrian Dusa
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025 Bucharest sector 5
Romania
Tel./Fax: +40 21 3126618 \
          +40 21 3120210 / int.101



More information about the R-help mailing list