station {sspline} | R Documentation |
It gives a simple illumination on how the given (lon, lat) pairs distributes on the world.
station(lon=NULL, lat=NULL, pch=24, col="blue", bg="red", ...)
lon |
numeric, the longitudes |
lat |
numeric, the latitudes |
pch |
the plotting symbol |
col |
color value or name, the color used to draw the symbol |
bg |
color value or name, the color used to fill the sumbol |
... |
other plotting parameters |
It calls the map.world to draw a world map.
NULL
The longitudes and latitudes are measured in degrees.
Xianhong Xie <xie@stat.wisc.edu>
data(WTdiff) subdat <- WTdiff[sample(nrow(WTdiff), 200), 2:3] attach(subdat) station(lon, lat) detach(subdat)