rcpp_mortality | R Documentation |
Rcpp simulate (background) mortality.
rcpp_mortality(
fishpop,
fishpop_track,
seafloor,
pop_linf,
pop_n_body,
pop_reserves_max,
extent,
dimensions
)
fishpop , fishpop_track |
Matrix with fishpop and starting fishpop values. |
seafloor |
Matrix with seafloor values. |
pop_linf , pop_n_body , pop_reserves_max |
Numeric with parameters. |
extent |
Vector with extent (xmin,xmax,ymin,ymax). |
dimensions |
Vector with dimensions (nrow, ncol). |
Function to simulate background mortality of fish individuals. The mortality
probability increases with increasing size and approximates p=1 for pop_linf
.
If a individual dies, a new individual is created.
void
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.