Re: [R] merge

From: Kevin E. Thorpe <kevin.thorpe_at_utoronto.ca>
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: kevin.thorpe_at_utoronto.ca  Tel: 416.864.5776  Fax: 416.864.6057

______________________________________________
R-help_at_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
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 https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.