Skip to content
Prev 315303 / 398503 Next

I'm trying to parse 1 column of a dataframe into 3 seperate columns

How about

a <- sapply(test, function(x) x[1])
s <- sapply(test, function(x) x[2])
e <- sapply(test, function(x) x[3])

----------------------------------------------
David L Carlson
Associate Professor of Anthropology
Texas A&M University
College Station, TX 77843-4352