as.gps | R Documentation |
Coerces a sequence of longitudes and latitudes into a GPS dataset.
This may be used when read.gps()
cannot read a file, or when the
data have been manipulated.
as.gps(longitude, latitude, filename = "")
longitude |
the longitude in decimal degrees, positive east of
Greenwich, or a data frame with columns named |
latitude |
the latitude in decimal degrees, positive north of the Equator. |
filename |
name of file containing data (if applicable). |
A gps object.
Dan Kelley
Other things related to gps data:
[[,gps-method
,
[[<-,gps-method
,
gps-class
,
plot,gps-method
,
read.gps()
,
summary,gps-method
# Location of the Tower Tank at Dalhousie University
towerTank <- as.gps(-63.59428, 44.63572)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.