Displaying 1 result from an estimated 1 matches for "448623_854854".
2010 May 06
2
splitting character strings and converting to numeric vectors
...g character vector of geographic data (data frame column named
"XY") whose elements vary in length (from 11 to 14 chars). Each element is
structured as a set of digits, then an underscore, then more digits, e.g:
> data.frame(head(as.character(XY)))
head.as.character.XY..
1 -448623_854854
2 -448563_854850
3 -448442_854842
4 -448301_854833
5 -448060_854818
6 -446828_854736
I simply need to separate the two sets of digits from each other and assign
them into new columns. The closest I've been able to get is by:
> test=t(as.matrix(data....