Displaying 1 result from an estimated 1 matches for "casanare".
2010 May 12
3
Calling a list element
Hello, i have the following list
strsplit(as.character(Elecciones$Municipios),"\\.")
[[1]]
[1] "ANTIOQUIA" "ABEJORRAL"
[[2]]
[1] "META" "ACACIAS"
[[3]]
[1] "CASANARE" "AGUAZUL"
[[4]]
and I would like to make a vector of the first element of each of the list
items, in this case ANTIOQUIA, META, CASANARE, etc . Do you know how can I
do this?
Thank you
Felipe Parra
[[alternative HTML version deleted]]