Description Usage Arguments Details Value
wnCreateObsPredVectorMap
returns a ggmap object of the vector field
1 2 | wnCreatePredObsVectorMap(df, lat, lon, zoom, maptype, colorscale = "discrete",
axis_labels = TRUE)
|
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) |
colorscale |
color scale to use for vectors (discrete or continuous) |
axis_labels |
whether or not to plot axis labels on map (TRUE or FALSE) |
This fucntion returns a vector plot of the wind field overlayed on a static Google Maps image. The plot is faceted on forecast name. See vector_plot.R for usage.
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.