Skip to contents

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.

Usage

run_ibiogeo_model(D = c(1, 4), A = c(1, 0.5), k = 0.015, M = 100)

Arguments

D

distance from mainland (km)

A

size of island (km^2)

k

scaling parameter (defaults to 0.015)

M

species richness of mainland

Value

Two ggplot objects: first, plot showing the equilibrium diversity of each island; second, a "map" illustrating island size and distance from mainland.

Examples

run_ibiogeo_model(D = c(1,4), A = c(1,0.5))
#> $eq_plot

#> 
#> $map

#>