search for: hhserialno

Displaying 2 results from an estimated 2 matches for "hhserialno".

2009 Aug 04
2
Re ferencing columns and pulling selected data
...,24,89,60,43,47,57,56,76,76,66,70,14,7,3,62,62,30,10,7,20,21,50,53,44,29) IsHead<-c(TRUE,TRUE,TRUE,TRUE,FALSE,TRUE,TRUE,FALSE,TRUE,TRUE,FALSE,TRUE,FALSE,FALSE,TRUE,FALSE,FALSE, FALSE,TRUE,FALSE,TRUE,FALSE,FALSE,FALSE,TRUE,FALSE,TRUE,FALSE,FALSE) PrsnData<-cbind(PrsnSerialno,PrsnAge,IsHead) HhSerialno<-c(735,1147,2019,4131,4217,4629,4822,5979,6128,7004,7438,9402,10115,11605,12693) HhData<-cbind(HhSerialno) What i would like to do is to add a age column to HhData that would correspond to the serial number and which is also the oldest person in the house, or what corresponds to "TRUE&q...
2009 Aug 10
1
creating selection vector with 2 attributes
...quot;Portland", "Portland", "Portland", "Portland", "ClackamasMultnomah", "Portland", "Portland", "Portland", "Washington", "Portland", "Portland") PumsAreaNames=data.frame(PumaNums,PumaNames) HhSerialno<-c( 38 , 71 , 80, 100, 100 ,106, 126 ,152 ,157 ,181 ,182 ,210 ,244, 267 ,296 ,361, 387, 399, 430 ,434 ,468 ,480 ,483 ,486 ,532) Hhdata<-data.frame(HhSerialno,Puma) IsEugene <- Hhdata$Puma %in% PumsAreaNames..$PumaNums[(PumsAreaNames..$PumaNames == "Eugene")] #---------------...