[R] Database reorganization

From: Bernardo Rangel Tura <tura_at_centroin.com.br>
Date: Sat 12 Mar 2005 - 22:15:42 EST


Hi people,

I need reorganization several databases. I would like to know if that is possible in R. My problem is like that:

original data base:

Age     x1980   x1981
1       5       8
3       7       9
5       9       15
7       11      20

future data base

year    age     x
1980    1       5
1980    3       7
1980    5       9
1980    7       11
1981    1       8
1981    3       9
1981    5       15
1981    7       20



Thanks in advance

Bernardo Rangel Tura, MD, MSc
National Institute of Cardiology Laranjeiras Rio de Janeiro Brazil

-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Mon Mar 14 09:57:33 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:30:42 EST