Description Usage Arguments Examples
Generates a radii plot on a ggmap object representing the maximum windspeed
1 2 3 |
mapping |
Set of aesthetic mappings created by |
data |
The data to be displayed in this layer. There are three options: If A A |
stat |
The statistical transformation to use on the data for this layer, as a string. |
position |
Position adjustment, either as a string, or the result of a call to a position adjustment function. |
na.rm |
If |
show.legend |
logical. Should this layer be included in the legends?
|
inherit.aes |
If |
scale_radii |
Numeric value to adjust scale of the radii plot. |
... |
other arguments passed on to |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
get_map("Louisiana", zoom = 6, maptype = "toner-background", source="stamen",force=FALSE) %>%
ggmap(extent = "device") +
geom_hurricane(data = katrina_observation,
aes(x = longitude, y = latitude,
r_ne = ne, r_se = se, r_nw = nw, r_sw = sw,
fill = wind_speed, color = wind_speed,
scale_radii=0.75)) +
scale_color_manual(name = "Wind speed (kts)",
values = c("red", "orange", "yellow")) +
scale_fill_manual(name = "Wind speed (kts)",
values = c("red", "orange", "yellow"))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.