*Luca, *
you may use survey package. You have to declare the design with design function and than you can you svytotal, svyby, svymean functions to do your tabulations. Regards, Leandro Atenciosamente, Leandro Marino http://www.leandromarino.com.br (Fotógrafo) http://est.leandromarino.com.br/Blog (EstatÃstico) Cel.: + 55 21 9845-7707 Cel.: + 55 21 8777-7907 2011/8/28 Luca Meyer <lucam1...@gmail.com> > Hello, > > I have to run a set of crosstabulations to which I need to apply some > weights. I am currently doing an unweighted version of such crosstabs using > table(x,y). > > I am used with SPSS to create a weighting variable and to use WEIGHT BY VAR > before running the CTABLES, is there a similar procedure in R? > > Thanks, > Luca > > Mr. Luca Meyer > www.lucameyer.com > R version 2.13.1 (2011-07-08) > Mac OS X 10.6.8 > > > > > > > > [[alternative HTML version deleted]] > > ______________________________________________ > 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. > [[alternative HTML version deleted]]
______________________________________________ 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.