get_bearing: Get bearing function

get_bearingR Documentation

Get bearing function

Description

get_bearing is a function to calculate a new bearing for a vessel. The new bearing is determined from the Von Mises circular distribution, with a concentration parameter, k which is linked to the value of the recent tow. Thus, if a vessel has a good tow, its more likely to turn round and fish again in the same area.

Usage

get_bearing(b = NULL, k = NULL)

Arguments

b

is a Numeric based on decimal degrees (0 - 360) of the current bearing for the vessel

k

is a Numeric [0-100] for the concentration parameter determining the likely new direction for the vessel.

Value

bearing - is the new bearing for the vessel

Examples

get_bearing(b = 270, k = 100)

pdolder/MixFishSim documentation built on Oct. 17, 2023, 4:25 p.m.