Entering edit mode
7.5 years ago
mshehabu
•
0
Hello everyone!
I want to split a column into multiple column like below column1 0001 0011 0111 1111
column2 1111 0111 0011 0111 I have this type of data with thousands of column, i want to split each column into 4 single column. i tried to use colsplit function in reshape. library(reshape): colsplit(x, split="", "y")# x data frame it worked for a single column but not for multiple column, even if i use the for loop. Any one please, any help is appreciated! Meki