View source: R/initialLobsterGrid.R
initialLobsterGrid | R Documentation |
This function simulates an arena (or grid) with lobsters in it based on the provided density, size and sex ratio.
initialLobsterGrid(
nrowgrids,
ncolgrids,
unitarea,
initlambda,
initD,
lobsterSizeFile,
lobsterSexDist
)
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 class size. |
lobsterSexDist |
is a list that contains the sex ratio of lobsters. |
Returns x and y coordinates of simulated lobsters at the beginning.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.