Re: [R] weight cases?

From: Adrian Dusa <dusa.adrian_at_gmail.com>
Date: Sat 14 Oct 2006 - 14:15:42 GMT

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

______________________________________________
R-help@stat.math.ethz.ch 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.
Received on Sun Oct 15 00:20:52 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sat 14 Oct 2006 - 14:30:10 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.