[R] svychisq using two frames

2012-05-24 Thread lasciel
Hello, I’m hoping you have a few minutes to help out someone very new to R. I’ve done some searching, but cannot find this particular issue. I have survey data from two different time periods (years). Both years are stratified samples and have the same variables (and variable names), but are

Re: [R] svychisq using two frames

2012-05-24 Thread Thomas Lumley
On Fri, May 25, 2012 at 4:10 AM, lasciel corte...@msu.edu wrote: So, I could use ‘rbind’ to stack the two years of data together with their appropriate weights into a single data frame. svychisq(~MyVar+MyVar, BothYears, statistic=”Chisq”) But now I have a problem that the variable name is