Description Usage Arguments Details
View source: R/base.distance.R
Calculate the distance from a US Air Force Base to a service
1 | base.distance(base = NULL, service = "libraries")
|
base |
The name of a CONUS USAF base |
service |
The type of service for which a distance is desired |
This function computes the distance between the location of a CONUS
US Air Force Base and the location of a service. The default service
type is libraries
as this was the first service considered. Distance
measurements were computed using the rdist.earth.vec
function from the
fields package. Latitude/longitude values were found by submitting the addresses
of the service locations to the Google API using ggmap::geocode
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.