randomMove: The function randomly selects an angle (0:360) and moves the...

View source: R/randomMove.R

randomMoveR Documentation

The function randomly selects an angle (0:360) and moves the lobster. This 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 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


vpourfaraj/lobsterCatch documentation built on May 17, 2023, 1:37 p.m.