[R] WEIGHT CASES by Frequency VECTOR

From: sharon Wandia <srwandia_at_gmail.com>
Date: Tue, 25 Nov 2008 16:35:54 +0300


Does anyone know how to weight cases in a data frame using a frequency vector?
I'm trying to run tabulations on R , on a data set that first needs to have weighted cases before i run the tabulations.

In SPSS & SAS its quite simple, but i'm unable to do it in R.

        [[alternative HTML version deleted]]



R-help_at_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. Received on Tue 25 Nov 2008 - 13:39:40 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 25 Nov 2008 - 14:30:28 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.

list of date sections of archive