I have a tibble that I'm trying to separate into multiple columns:
The tibble only has one column and should look like the right side of the image when done.
I have a tibble that I'm trying to separate into multiple columns:
The tibble only has one column and should look like the right side of the image when done.
It can be done with matrix
(assuming that the length of column is a multiple of 4)
matrix(data$col1, ncol=4, byrow = TRUE)