rcpp_update_coords | R Documentation |
Rcpp update coordinates.
rcpp_update_coords(fishpop, i, move_dist, max_dist, extent)
fishpop |
Matrix with fishpop values. |
i |
Integer with row id. |
move_dist , max_dist |
Numeric with (maximum) movement distance. |
extent |
Vector with extent of study area. |
Update xy coordinates and activity of fish individuals depending on
move_dist
.
void
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.