Description Usage Arguments Details Value
raster2VectorMap
returns a ggmap object of the
vector field
1 | raster2VectorMap(df, lat, lon, zoom, maptype, scale_factor = 1000)
|
df |
dataframe |
lat |
center lat of Google Maps image |
lon |
center lon of Google Maps image |
zoom |
zoom for Google Maps image (1-20) |
maptype |
type of Google Maps image (terrain, hybrid, satellite, roadmap) |
scale_factor |
optional scaling factor to adjust vector length |
This fucntion returns a vector plot of the wind field (supplied as 2 rasters: wind direction and wind speed) overlayed on a static Google Maps image.
ggmap object representation of the wind field
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.