I have a data frame and for one of the variables I need to split each of the observations by “,”
I used:
y <- strsplit(as.character(x), “,”)
I get a data set that shows every split character in a row not in the same row they were in before
I have this: “a,b,c,d…” And need this: “a” “b” “c”… For each row