Description Usage Arguments Details Value See Also
Determine the easting from a given distance to lake bottom, incorporating random assignment to west or east shore if not specified.
1 | xfromz(z, maxz, ints, slopes, shore = "random")
|
z |
A numeric vector of the distances to lake bottom to convert (in m). |
maxz |
A numeric scalar, the maximum bottom depth of the lake (in m). |
ints |
A numeric vector of length 2, the intercepts of the angled lake beds along the west and east shores of the lake (in m). |
slopes |
A numeric vector of length 2, the slopes of the angled lake beds along the west and east shores of the lake (unitless). |
shore |
A numeric or character scalar, indicating if the shore should be west (0), east (1) or randomly assigned ("random", default). |
An internal function called by SimFish
.
A numeric vector, same length as x
, with distances to bottom for
each easting provided (in m).
SimFish
, dfromx
, zfromx
.
The assignment to shore is necessary because the artificial lake will have
two eastings for each bottom depth (except for the depth at the vertex).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.