Package: LobsterCatch 0.1.0

LobsterCatch: Models the Capture Processes in American Lobster Trap Fishery

Simulate lobster catch process in a trap fishery. Factors such as lobster density on ocean floor, their movement, trap saturation and bait shrinkage rate can be modeled. Details of the methods for modeling those processes can be found in: Addison and Bell (1997) <doi:10.1071/MF97169>.

Authors:Pourfaraj vahab [aut], Cook Adam [aut], Jamie Tam [ctb], Nickchi Payman [aut, cre]

LobsterCatch_0.1.0.tar.gz
LobsterCatch_0.1.0.zip(r-4.5)LobsterCatch_0.1.0.zip(r-4.4)LobsterCatch_0.1.0.zip(r-4.3)
LobsterCatch_0.1.0.tgz(r-4.4-any)LobsterCatch_0.1.0.tgz(r-4.3-any)
LobsterCatch_0.1.0.tar.gz(r-4.5-noble)LobsterCatch_0.1.0.tar.gz(r-4.4-noble)
LobsterCatch_0.1.0.tgz(r-4.4-emscripten)LobsterCatch_0.1.0.tgz(r-4.3-emscripten)
LobsterCatch.pdf |LobsterCatch.html
LobsterCatch/json (API)

# Install 'LobsterCatch' in R:
install.packages('LobsterCatch', repos = c('https://pnickchi.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/pnickchi/lobstercatch/issues

Datasets:

On CRAN:

3.18 score 200 downloads 2 exports 0 dependencies

Last updated 1 years agofrom:65a9586598. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 12 2024
R-4.5-winOKNov 12 2024
R-4.5-linuxOKNov 12 2024
R-4.4-winOKNov 12 2024
R-4.4-macOKNov 12 2024
R-4.3-winOKNov 12 2024
R-4.3-macOKNov 12 2024

Exports:GetSimOutputSimulateLobsterMovement

Dependencies:

Readme and manuals

Help Manual

Help pageTopics
This function calculates the probability of entry into a trap, also known as catchability. It includes the parameters described in Addison and Bell (1997), and can also incorporate the length of the catch while calculating the catchability.catchability
This function models movement of lobsters toward the trap.The distance of lobsters to trap determines the magnitude of those moves. As lobster gets closer to the trap, the magnitude of its directional move becomes larger and the random move becomes smaller.directionalMove
This function calculates the variance to mean ratio (also known as dispersion index).dispersion
The function finds the closest trap to a lobster and calculates the distance.distanceToClosestTrap
This function calculates the Euclidean distance between Trap(s) and each lobster. The function is internally called in 'distanceToClosestTrap' function.distanceToTrapCalculator
This function extracts the results of simulation.GetSimOutput
This function simulates an arena (or grid) with lobsters in it based on the provided density, size and sex distribution.initialLobsterGrid
Lobster size frequency dataLobsterSizeFreqs
The function randomly selects an angle (0:360) and moves the lobster. This function is called when a lobster is outside the area of influence.randomMove
This function replicates the coordinates where there are multiple lobstersreplicateCoordinates
This function generates a Poisson or a negative binomial distribution for lobsters in the arenarpoisD
Function to run the simulation based on defined parametersSimulateLobsterMovement
This function determines if lobster gets into a trap and is caught.trapInPath
This function updates the coordinate of each lobster at each timestep,updateGrid