[R] data.frame with duplicated id's

Andrew Hayen ahayen at nswcc.org.au
Wed Sep 24 07:56:00 CEST 2003


Try ?reshape

A


-----Original Message-----
From: Christian Schulz [mailto:ozric at web.de]
Sent: Wednesday, 24 September 2003 3:42 PM
To: r-help at stat.math.ethz.ch
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]]

______________________________________________
R-help at stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help




More information about the R-help mailing list