R/RcppExports.R
disperse.Rd
C++ code for dispersal
disperse(a, Rdispersal, grid)
IntegerVector. Final dispesal positions
int. Dispersal radius in cells
int. Number of cell per side of the matrix
disperse(c(10, 10), 2, 20)#> [1] 8 10