HI all,
Is there a renumbering function in R?

I would like to renumber the following id numbers

*Input file
*
  Id Father Mother  123 0 0  124 0 0  125 123 124  126 123 0  127 125 126
128 0 127  130 123 125
*Output*

 Id Father Mother  1 0 0  2 0 0  3 1 2  4 1 0  5 3 4  6 0 7  7 1 2
Any help is highly appreciated in Advance

Val K

	[[alternative HTML version deleted]]

