i have a vector
a<-as.vector(diag(5))
How to separate this vector every 5 numbers and create a data.frame by joining each in a row? my idea is to do this https://i.stack.imgur.com/LeOBh.jpg one column, each row of that column as if it were diag (5). Each line will identify a different object, so you need to follow the image order. length must equal number of numbers within each line