Skip to content
Prev 302224 / 398503 Next

Help on merging without a common variable

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