[R] Using final sample weight in survey package

2016-04-04 Thread José Fernando Zea
I have the final sample weight (expansion factor) from a socieconomic survey. I don't know the exact design used in the study ( (probably is a stratified two-stage design). To illustrate my problem I will use the next dataset which have a sample weight (but the design is not specified) and incorpo

[R] Fatal Error R

2010-11-16 Thread José Fernando Zea Castro
(b)=c("q99","r88","s77") >b q99 r88 s77 1 1 4 7 2 2 5 8 3 3 6 9 > b$q9 [1] 1 2 3 Please note that the variable q9 does not exist in the dataframe, but you can see that R show q9 (as q99). Thank in advanced Cordially José Fernando Zea