initialLobsterGrid {LobsterCatch} | R Documentation |
This function simulates an arena (or grid) with lobsters in it based on the provided density, size and sex distribution.
Description
This function simulates an arena (or grid) with lobsters in it based on the provided density, size and sex distribution.
Usage
initialLobsterGrid(
nrowgrids,
ncolgrids,
unitarea,
initlambda,
initD,
lobsterSizeFile,
lobsterSexDist
)
Arguments
nrowgrids |
is a numeric value which defines the number of rows of the arena. |
ncolgrids |
is a numeric value which defines the number of columns of the arena. |
unitarea |
is the unit area used for estimating density of lobsters. |
initlambda |
is the density of lobsters at the beginning of simulation. |
initD |
is the dispersion index of lobsters on seabed at the beginning of the simulation. |
lobsterSizeFile |
is a csv file that contains the frequency of lobsters size class. |
lobsterSexDist |
is a list that contains the sex ratio of lobsters. Possible values are M=male, F=female, MM=mature male, BF=berried female) |
Value
Returns x and y coordinates of simulated lobsters at the beginning.
[Package LobsterCatch version 0.1.0 Index]