map_wind | R Documentation |
Inputs a dataframe with modeled winds for each eastern U.S. county and maps these modeled winds.
map_wind( grid_winds, value = "vmax_sust", break_point = NULL, wind_metric = "mps" )
grid_winds |
A dataframe that is the output of running
|
value |
A character string giving the value to plot. Possible options
are |
break_point |
An numeric value giving the value of the |
wind_metric |
A character vector with the wind metric to use for the map.
Possible values are |
This function returns a map of the ggplot
class, plotting
exposure to hurricane winds by county for the eastern half of the United
States.
data("katrina_tracks") data("county_points") grid_winds_katrina <- get_grid_winds(hurr_track = katrina_tracks, grid_df = county_points) map_wind(grid_winds_katrina) map_wind(grid_winds_katrina, wind_metric = "knots") map_wind(grid_winds_katrina, value = "vmax_gust") map_wind(grid_winds_katrina, break_point = 20)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.