View source: R/weatherHelper.R
stationCompare | R Documentation |
Compare weather stations returned by stationSearch
stationCompare(st, startdate, enddate)
st |
Data frame of stations returned by |
startdate |
the start date of the interval to compare |
enddate |
the end date of the interval to compare The start and end date arguments should either be POSIX date objects, or coercible to with as.Date. So for example "2013-01-01" is appropriate. |
An object of S3 class stationComp. This is a list with two entries 1) data - the weather data for the requested stations over the requested interval and 2) stations - the station info data frame.
summary.stationComp
plot.stationComp
read.ghcn
# Compare 5 closest weather stations to Ecotope's Seattle office stations <- stationSearch(lat = 47.6569326, lon = -122.3184546) comp <- stationCompare(stations, "2014-01-01", "2014-12-31") summary(comp) plot(comp)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.