[R] Merging and sorting multiple data.frame
Hotz, T.
th50 at leicester.ac.uk
Fri Aug 15 18:21:14 CEST 2003
Dear Aedin,
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.
HTH
Thomas
> -----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
> Aedin
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
>
---
Thomas Hotz
Research Associate in Medical Statistics
University of Leicester
United Kingdom
Department of Epidemiology and Public Health
22-28 Princess Road West
Leicester
LE1 6TP
Tel +44 116 252-5410
Fax +44 116 252-5423
Division of Medicine for the Elderly
Department of Medicine
The Glenfield Hospital
Leicester
LE3 9QP
Tel +44 116 256-3643
Fax +44 116 232-2976
More information about the R-help
mailing list