Skip to content

Help on merging without a common variable

2 messages · R. Michael Weylandt, PIKAL Petr

#
On Thu, Aug 2, 2012 at 4:52 PM, Ayyappa Chaturvedula
<ayyappach at gmail.com> wrote:
Well, it is "required" in a strict sense, but it has a default value
(defaulting to the shared names) so _you_ don't have to specify it.

Best,
Michael
#
Hi

OTOH I wonder why cbind gives error as OP told us

x <- data.frame(x = 1:5)
y <- data.frame(y = 6:15)

merge(x,y)
cbind(x,y)

Gives different results but without any error.

Regards
Petr
argument
http://www.R-project.org/posting-guide.html