0

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.

alistaire
  • 40,464
  • 4
  • 71
  • 108
Abe A
  • 11
  • Please use `dput` to show the example instead of images. Try with `matrix(data$col, ncol=4, byrow = TRUE)` – akrun Oct 31 '18 at 01:56

1 Answers1

0

It can be done with matrix (assuming that the length of column is a multiple of 4)

matrix(data$col1, ncol=4, byrow = TRUE)
akrun
  • 789,025
  • 32
  • 460
  • 575