Description Usage Arguments Value Examples
Map counties as "exposed" or "unexposed" based on the criterion that the
storm had a certain wind speed (specified by wind_limit
, in meters
per second).
1 2 3 4 5 6 7 | map_wind_exposure(
storm,
wind_var = "vmax_sust",
wind_limit,
add_track = TRUE,
wind_source = "modeled"
)
|
storm |
A character string giving the storm ID (e.g., "Floyd-1999") |
wind_var |
A character string giving the wind variable to use. Choices
are |
wind_limit |
A numeric vector of length one giving the minimum
wind speed (in meters per second) or duration of winds of 20 m / s or more
(in minutes) to use in the filter. The units of this variable will depend on
the user's choice for the |
add_track |
TRUE / FALSE of whether to add the storm's track to the map. The default is TRUE. |
wind_source |
A character string specifying the source to use for the winds. Options
are |
Plots a map showing whether eastern US counties were exposed or unexposed to a specific storm based on a wind criterion.
1 2 3 4 5 6 7 | # Ensure that data package is available before running the example.
# If it is not, see the `hurricaneexposure` package vignette for details
# on installing the required data package.
if (requireNamespace("hurricaneexposuredata", quietly = TRUE)) {
map_wind_exposure(storm = "Beryl-1988", wind_limit = 15)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.