trapInPath {LobsterCatch} | R Documentation |
This function determines if lobster gets into a trap and is caught.
trapInPath(loc1, loc2, Trap, howClose)
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 |
Returns a vector that contain lobster path and whether its trapped