Re: [R] merge

From: Kevin E. Thorpe <>
Date: Wed, 20 Jun 2007 11:41:26 -0400

elyakhlifi mustapha wrote:
> hello,
> is it possible to merge 2 matrix or data.frame by roxnames?
> I checked details about the functino merge but I haven't fond this option.
> Can you help me please?
> thanks.

The first paragraph of the Details section says:

By default the data frames are merged on the columns with names they both have, but separate specifications of the columns can be given by by.x and by.y. Columns can be specified by name, number or by a logical vector: the name "row.names" or the number 0 specifies the row names.

Kevin E. Thorpe
Biostatistician/Trialist, Knowledge Translation Program
Assistant Professor, Department of Public Health Sciences
Faculty of Medicine, University of Toronto
email:  Tel: 416.864.5776  Fax: 416.864.6057

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Wed 20 Jun 2007 - 15:47:55 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 20 Jun 2007 - 16:32:08 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.