This works by inverting whaleMassFromLength() using uniroot().

whaleLengthFromMass(M, species = "N. Atl. Right Whale", model = "fortune2012")

Arguments

M

Whale mass (kg).

species

A string indicating the whale species (see whaleMassFromLength() for details).

model

Character string specifying the model (see whaleMassFromLength() for details).

Value

Whale length (m).

References

See whalestrike() for a list of references.

See also

whaleMassFromLength() is the reverse of this.

Author

Dan Kelley