Description Usage Arguments Value Examples
This function will plot each city's reference point, along with the k-nearest stations to that point.
1 | plotStations(city.list, station.list, k = 5)
|
city.list |
List of Cities. The format should be as follows: "City, State", or "City, Country" |
station.list |
Full list of ISD stations included in the package |
k |
The number of stations to return |
This will produce single, or multple plots for each city
1 2 3 4 5 6 | ## Not run:
data(stations)
cities <- c("Nairobi, Kenya", "Tema, Ghana", "Accra, Ghana", "Abidjan, Ivory Coast")
plotStations(cities, station.list, 5)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.