move_prob | R Documentation |
move_prob
calculates the movement probability between
a cell and all other cells based on the distance and lambda.
move_prob(start, lambda, hab)
start |
is a Numeric vector of dim 2 for the starting position c(x,y) |
lambda |
is an integar for the value for the exponential decay in probability
of movement, i.e. |
hab |
is a matrix of the habitat suitability |
is a matrix of the movement probabilities from a cell
move_prob(c(2, 5), 0.3, matrix(nc = 3, runif(9)))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.