Re: [R] svytable including NAs

2011-09-14 Thread tesutton
5:36 AM To: David Winsemius Cc: tesutton; r-help@r-project.org Subject: Re: [R] svytable including NAs On Thu, Sep 15, 2011 at 1:49 AM, David Winsemius wrote: > > On Sep 14, 2011, at 6:12 AM, tesutton wrote: > >> Dear all >> >> I'm creating two way tables based o

Re: [R] svytable including NAs

2011-09-14 Thread Thomas Lumley
On Thu, Sep 15, 2011 at 1:49 AM, David Winsemius wrote: > > On Sep 14, 2011, at 6:12 AM, tesutton wrote: > >> Dear all >> >> I'm creating two way tables based on weighted survey data using svytable >> and want to include NAs as a level in the table. >> For unweighted data I use table(..., useNA="i

Re: [R] svytable including NAs

2011-09-14 Thread David Winsemius
On Sep 14, 2011, at 6:12 AM, tesutton wrote: Dear all I'm creating two way tables based on weighted survey data using svytable and want to include NAs as a level in the table. For unweighted data I use table(..., useNA="ifany"). Is there any equivalent for svytable? If not, is there a so

[R] svytable including NAs

2011-09-14 Thread tesutton
Dear all I'm creating two way tables based on weighted survey data using svytable and want to include NAs as a level in the table. For unweighted data I use table(..., useNA="ifany"). Is there any equivalent for svytable? If not, is there a solution using a different function? Thanks Tim -