View source: R/simulateHubbell.R
simulateHubbell | R Documentation |
Neutral species abundances simulation according to the Hubbell model.
simulateHubbell(
n_species,
M,
carrying_capacity = 1000,
k_events = 10,
migration_p = 0.02,
t_skip = 0,
t_end,
norm = FALSE
)
n_species |
|
M |
|
carrying_capacity |
|
k_events |
|
migration_p |
|
t_skip |
|
t_end |
|
norm |
|
simulateHubbell
returns a TreeSummarizedExperiment class
object
Rosindell, James et al. "The unified neutral theory of biodiversity and biogeography at age ten." Trends in ecology & evolution vol. 26,7 (2011).
tse <- simulateHubbell(
n_species = 8, M = 10, carrying_capacity = 1000, k_events = 50,
migration_p = 0.02, t_end = 100
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.