search for: idhous

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

2011 Oct 25
1
merging to data.frames whose columns are different but follow a pattern.
...mented all the files in R an managed (via rename, cbind, rbind, merge etc.) to get *two* files. The first file is a combination of all 12 /individual/ files orderd by IDPERS (unique individual identification) and T (=Time 1...12) The second file contains all houshold waves (1-12) and is orderd by IDHOUS (unique houshold identification) and T (=1...12). Now, to the problem: As the following except shows: the individual id used in the individual file (IDPERS) is derived from the houshold id (IDHOUS). >head(INDIVIDUAL,20) IDPERS T SEX PC02 GHS Single 1 4101 1 1 9 1 NA 2 4...