Barry Rowlingson wrote:
I receive GPS readings in a text string such as
"0121.6723S 03643.6893E" and need the coordinates as
decimal degrees in two separate variables: "-1.361205"
and "36.728155". How do I do this in R?
- this works for the single test case you've given us:
Whoops, it doesn't.
Mikkel Grum wrote:
I receive GPS readings in a text string such as
"0121.6723S 03643.6893E" and need the coordinates as
decimal degrees in two separate variables: "-1.361205"
and "36.728155". How do I do this in R?
you'd use some string processing functions, like strsplit, nchar,
maybe grep and
I receive GPS readings in a text string such as
"0121.6723S 03643.6893E" and need the coordinates as
decimal degrees in two separate variables: "-1.361205"
and "36.728155". How do I do this in R?
mikkel
__
[EMAIL PROTECTED] mailing list
https://www.sta