plotStations: Plot k-nearest stations

Description Usage Arguments Value Examples

Description

This function will plot each city's reference point, along with the k-nearest stations to that point.

Usage

1
plotStations(city.list, station.list, k = 5)

Arguments

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

Value

This will produce single, or multple plots for each city

Examples

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)

mpiccirilli/weatheR documentation built on May 23, 2019, 6:28 a.m.