Description Usage Arguments Value Examples
Calculates time required for inundation given rate of sea level rise. Sea level rise time function (while loop ESM262 HW3). Returns year that a city will be inundated given a 3.6mm annual sea level rise (slr) rate (2021 global average). Takes starting local mean sea level (m) and city elevation (m) as inputs.
1 | slr_fun(sea_level, elevation)
|
sea_level |
|
elevation |
year
1 2 | slr_fun(sea_level = 1.1, elevation = 4.1)
[1] "The city will be flooded in year 2105"
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.