Displaying 1 result from an estimated 1 matches for "wbsurvey".
Did you mean:
ebsurvey
2008 Aug 18
1
Survey Design / Rake questions
...===============
========
>
SurveyData$NumStn=abs(as.numeric(SurveyData$lineon)-as.numeric(SurveyDat
a$lineoff))
> EBSurvey <- subset(SurveyData, direction_ == "EASTBOUND" )
> XTTable <- xtabs(~direction_ , EBSurvey)
> XTTable
direction_
EASTBOUND
345
> WBSurvey <- subset(SurveyData, direction_ == "WESTBOUND" )
> XTTable <- xtabs(~direction_ , WBSurvey)
> XTTable
direction_
WESTBOUND
307
> #
> EBDesign <- svydesign(id=~sampn, weights=~expwgt, data=EBSurvey)
> # svytable(~lineon+lineoff, EBDesign)
> On...