View source: R/ibiogeo_functions.R
run_ibiogeo_model | R Documentation |
The function takes as inputs the size of two islands as well as their distance to the mainland, and uses these paramters to illustrate the equilibrium diversity of two islands.
run_ibiogeo_model(D = c(1, 4), A = c(1, 0.5), k = 0.015, M = 100)
D |
distance from mainland (km) |
A |
size of island (km^2) |
k |
scaling parameter (defaults to 0.015) |
M |
species richness of mainland |
Two ggplot objects: first, plot showing the equilibrium diversity of each island; second, a "map" illustrating island size and distance from mainland.
run_ibiogeo_model(D = c(1,4), A = c(1,0.5))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.