Re: [R] svytable and na's

2011-05-20 Thread Thomas Lumley
On Fri, May 20, 2011 at 7:54 PM, Manderscheid Katharina wrote: > hi thomas > > thanks for your reply. > in the documentation of svytable, the argument na.rm=T is mentioned. No, it isn't. The page says Usage ## S3 method for class 'survey.design': svytable(formula, design, Ntotal = NULL, round

Re: [R] svytable and na's

2011-05-20 Thread Manderscheid Katharina
nerstag, 19. Mai 2011 23:48 An: Manderscheid Katharina Cc: r-help@r-project.org Betreff: Re: [R] svytable and na's On Thu, May 19, 2011 at 11:41 PM, Manderscheid Katharina wrote: > hi, > > i am trying to work with the survey package in order to apply survey design > weights. the dat

Re: [R] svytable and na's

2011-05-19 Thread Thomas Lumley
On Thu, May 19, 2011 at 11:41 PM, Manderscheid Katharina 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

[R] svytable and na's

2011-05-19 Thread Manderscheid Katharina
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