trapInPath: This function determines if lobster passes through a trap and...

View source: R/trapInPath.R

trapInPathR Documentation

This function determines if lobster passes through a trap and determines if it is caught

Description

This function determines if lobster passes through a trap and determines if it 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

sets the distance from the trap within which catch occurs

Value

Returns a vector that contain lobster path and if it is trapped or not


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