I have a list that contains vectors of strings like this:
A <- list(c("A", "1"), c("G", "2"), c("T", "6"), c("A", "1"), c("A", "1"),
c("A", "1"), c("A", "1"), c("A", "2"), c("A", "2"), c("A", "2"),
c("A", "2"), c("A", "3"), c("X", "3"), c("A", "4"), c("A", "4"),
c("A", "4"), c("A", "5"), c("A", "5"), c("A", "2"), c("A", "6"))
I want to creat two columns in a dataframe, one with the first elements ("A", "G", ...) and one with the second element (1, 2, ...).