View source: R/signal_conversion.R
gga_long | R Documentation |
This function retrieves longitude position information from a G*GGA string.
gga_long(long = NULL, dir = NULL)
long |
String containing longitude information. G*GGA strings are comma-separated, longitude is in the fourth delimited position |
dir |
String determining whether longitude is E or W of 0 degrees. GPGGA strings are comma-separated, EW status is in the fifth delimited position |
Numeric, longitude in decimal degrees.
Inputting a numeric to long will give incorrect results for longitude -100 < x < 100 due to loss of leading zero(s).
lat <- em38:::gga_long('15257.5556', 'E')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.