Displaying 1 result from an estimated 1 matches for "hhage".
Did you mean:
chage
2009 Aug 04
2
Re ferencing columns and pulling selected data
...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"(designates oldest person). The TRUE
false doesnt have to be considered but is preferable.
The result would then be:
HhSerialno HhAge
735 59
1147 48
2019 42
4131 24
4217 89
4629 60
4822 47
5979 57
6128 76
7004 70
7438 62
9402 30
10115 21
11605 50
12693 53
I tried
PumsHh..$Age<-PumsPrsn[PumsPrsn$SERIALNO==PumsHh..$Serialno,PumsPrsn$AGE]
but becaseu teh data frames are of different length it doesnt work so im
unsure of another...