Description Usage Arguments Value Examples
coffeetime: Calculates the distance to the nearest Starbucks
1 | coffeetime(place)
|
place |
A vector of length 2 containing the numeric lat in position 1, and the numeric long in position 2, e.g. "41.42326, -73.94992" |
A numeric vector of length 1 containing distance to the nearest Starbucks from place
in kilometers.
1 2 3 4 5 | ## Not run:
woods <- c(lat=41.42326, lng=-73.94992)
coffeetime(woods)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.