dispersal_matrix | R Documentation |
Generates dispersal matrix for metacommunity simulations
dispersal_matrix( landscape, torus = TRUE, disp_mat, kernel_exp = 0.1, plot = TRUE )
landscape |
landscape generated by landscape_generate() |
torus |
whether to model the landscape as a torus |
disp_mat |
optional matrix with each column specifying the probability that an individual disperses to each other patch (row) |
kernel_exp |
the exponential rate at which dispersal decreases as a function of the distance between patches |
plot |
option to show plot of environmental variation |
matrix with dispersal probabilities
Patrick L. Thompson, patrick.thompson@zoology.ubc.ca
dispersal_matrix(landscape_generate())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.