Description Usage Arguments Examples
The functions calculate area resp. volume of a lake with an ellipsoidic depth profile.
1 2 3 4 5 | areaFunction(level, zmax, amax)
volumeFunction(level, zmax, amax)
vol2level(vol, zmax, amax)
|
level |
vector of water level above ground |
zmax |
maximum lake depth |
amax |
surface area of the lake surface for |
vol |
vector of given volume(s) |
1 2 3 4 5 6 7 | level <- seq(0, 50, 1)
amax <- 9e6
zmax <- 50
area <- areaFunction(level, zmax, amax)
vol <- volumeFunction(level, zmax, amax)
plot(vol, cumsum(area), type="l")
(vol - cumsum(area)) / vol
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.