On Thu, May 19, 2011 at 11:41 PM, Manderscheid Katharina
<[email protected]> wrote:
> hi,
>
> i am trying to work with the survey package in order to apply survey design
> weights. the data set i am using - ess - contains missing values.
> my question: when using svytable(~variable1+variable2,
> design=my.svydesign.object, na.rm=T) the resulting crosstable contains all
> missings although i defined the na's as such.
>
Could you give more details? There isn't an na.rm= argument to
svytable, so it's not surprising it has no effect, but I don't know
what you mean when you say the table "contains all missings." Perhaps
you could show us the output and say how it differs from what you
expected.
-thomas
--
Thomas Lumley
Professor of Biostatistics
University of Auckland
______________________________________________
[email protected] 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.