Skip to content

How to add some of data in the first place dataset

1 message · Tyler Smith

#
Try this:

x<- matrix(1:12, nrow = 4, byrow = T)
y <- matrix (13:24, nrow=4, by.row=T)

To add the rows of y before the rows of x:

rbind(y,x)