I would appreciate help in knowing how to repeat categorical variable code
given in column=A, by the number in a matching column=B.
For example, I have a categorical variable code attributed to a household=A
and want to replicate the code for all member of the household, as given in
column=B. I would like to have one sequence of categorical variable codes
for individuals in column C. I have ~9000 values in A and my C will be
~52000.

E.g
(A)    (B)      (C)
1       1         1
2       2         2
1       1         2
2       3         1
                    2
                    2
                    2

Any ideas would be gratefully accepted by a novice R user.

Ric

	[[alternative HTML version deleted]]

