trapInPath {LobsterCatch}R Documentation

This function determines if lobster gets into a trap and is caught.

Description

This function determines if lobster gets into a trap and is caught.

Usage

trapInPath(loc1, loc2, Trap, howClose)

Arguments

loc1

is the location of lobster at the start of each time step

loc2

is the location of lobster at the end of each time step

Trap

is the location of trap

howClose

The area within which a lobster considered trapped

Value

Returns a vector that contain lobster path and whether its trapped


[Package LobsterCatch version 0.1.0 Index]