xfromz: Determine Easting from Bottom Depth

Description Usage Arguments Details Value See Also

Description

Determine the easting from a given distance to lake bottom, incorporating random assignment to west or east shore if not specified.

Usage

1
xfromz(z, maxz, ints, slopes, shore = "random")

Arguments

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).

Details

An internal function called by SimFish.

Value

A numeric vector, same length as x, with distances to bottom for each easting provided (in m).

See Also

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).


JVAdams/artiFISHal documentation built on May 7, 2019, 10:14 a.m.