[R] Merging and sorting multiple data.frame
th50 at leicester.ac.uk
Fri Aug 15 18:21:14 CEST 2003
Similar questions have been asked quite often on this list.
See FAQ 7.25, the manual "An Introduction to R", and the online
help, especially ?merge, ?sort, ?order, and ?data.frame.
> -----Original Message-----
> From: Culhane, Aedin [mailto:a.culhane at ucc.ie]
> Sent: 15 August 2003 17:07
> To: 'r-help at stat.math.ethz.ch'
> Subject: [R] Merging and sorting multiple data.frame
> Dear R help,
> I'm pretty new to R and would be grateful for help.
> I have 11 data.frames, each with 3 columns of data. Each has the same
> row.names, however these are not sorted.
> Please tell me the best way to sort these (by row.names) and
> secondly the
> best way to extract data columns from these to form a merged table.
> Thanks a million
> R-help at stat.math.ethz.ch mailing list
Research Associate in Medical Statistics
University of Leicester
Department of Epidemiology and Public Health
22-28 Princess Road West
Tel +44 116 252-5410
Fax +44 116 252-5423
Division of Medicine for the Elderly
Department of Medicine
The Glenfield Hospital
Tel +44 116 256-3643
Fax +44 116 232-2976
More information about the R-help