Data Binding in R

Codes 

Its very simple to bind the data in column-wise or row-wise. Researcher have to use following simple codes:

First we define two variables says $x$ and $y$

y=c(1,2,3)

x=c(2,4,5)

#For column-wise binding

data=cbind(y,x); data

#For row-wise binding

data1=rbind(y,x); data1


Please write your suggestions in comment box

Comments