Le lundi 11 février 2013 à 10:37 +0100, Virgile Capo-Chichi a écrit : > Hello, > excuse me if this is trivial. I have some survey data with the following > design > > MyDesign<-(id=ident, weights=~fwgt, fcp=~nval1+nval2, data=hh_data1) > > I would like to run simple frequency tables such as those provided by the > freq() function of rgrs to check the impact of the sampling design on my > Ns. Anyway I can do this? thanks, V See ?svytable. For a two-way table, you can do svytable(~ MyVariable + MyVariable2, MyDesign)
Regards ______________________________________________ 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.