im trying to change the row order of a DataFrame , so the last digit is in the first place, the penultimate in the second place and so on.
it looks like this
x1=1:2
x2=1:5
x3=c(0,1,2,0)
n=max(length(x1), length(x2), length(x3))
length(x1)=n
length(x2)=n
length(x3)=n
a=rbind(x1,x2,x3)
a
#What im trying to do is that every row is like:
b=rev(a) #Keeping the NA where they are
Thanks!