[R] Function for ddply

2012-07-23 Thread Hutch Pollock
} meanN(nes,partyid3,environ.therm,wt) Error in wtd.mean(y, w) : object 'w' not found I have assigned data, x, y, and w. I'm just learning this powerful stuff. Any help would be greatly appreciated. Hutch Pollock [[alternative HTML version deleted]]

[R] Analyzing 2008 ANES using the weight variable

2012-06-19 Thread Hutch Pollock
eight and proceed with the analysis. In Stata, I specify the weight within the command. How do I use the 2008 weight variable in R? Has anyone been analyzing this particular data set? Any insights would be greatly appreciated. Thank you. Hutch Pollock [[alternative HTML version de