trapInPath | R Documentation |
This function determines if lobster passes through a trap and determines if it 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 |
sets the distance from the trap within which catch occurs |
Returns a vector that contain lobster path and if it is trapped or not
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.