Try ?reshape A
-----Original Message----- From: Christian Schulz [mailto:[EMAIL PROTECTED] Sent: Wednesday, 24 September 2003 3:42 PM To: [EMAIL PROTECTED] Subject: [R] data.frame with duplicated id's Hi, is there a exstisting function (..i found nothing until now.) what makes it possible transfrom a dataset: ID AGE V.MAI V.JUNE 11 20 100 120 12 30 200 90 into ID AGE V 11 20 100 11 20 120 12 30 200 12 30 90 ,or have i to programm ths my self? Thanks for any comment, help and/or starting point. regards,christian [[alternative HTML version deleted]] ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help ______________________________________________ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help