search for: dutyp

Displaying 1 result from an estimated 1 matches for "dutyp".

Did you mean: duty
2012 Mar 06
1
How to eliminate for next loops in this script
...1,2,3,4,max(HHSIZE)),labels=c("1","2","3","4","5+"),ordered_result=TRUE)}) hh.wt$VEHBIN <- with(hh.wt,{ cut(HHVEHCNT, breaks=c(-1,0,1,2,max(HHVEHCNT)),labels=c("0","1","2","3+"),ordered_result=TRUE)}) hh.wt$DUTYPE <- factor(hh.wt$HOMETYPE, exclude=c("-7","-8","-9")) levels(hh.wt$DUTYPE) <- c("1","1","2","2","2","2","2") # Convert home types to 1=SF and 2=MF trips <- merge(day.wt,hh.wt,by="HOUSE...