randomMove {LobsterCatch} | R Documentation |
The function randomly selects an angle (0:360) and moves the lobster. This function is called when a lobster is outside the area of influence.
Description
The function randomly selects an angle (0:360) and moves the lobster. This function is called when a lobster is outside the area of influence.
Usage
randomMove(Lobster, dStep)
Arguments
Lobster |
location of lobster in x and y coordinates |
dStep |
is how much a lobster moves in each time step |
Value
Returns the new coordinates of each lobster
[Package LobsterCatch version 0.1.0 Index]