Hi,

I am trying to convert a data frame from:

    X1    X2
A    1    2
B    3    4
C    5    6

to:
A01 1
A02 2
B01    3
B02    4
C01    5
C02    6.

How can I do it in R?

I appreciate your help.

Zheng

       
---------------------------------

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to