View source: R/all_endemic_singletons.R
all_endemic_singletons | R Documentation |
Checks if all island species are endemic singletons. Singletons are single lineages that have not formed an island clade of two or more species.
all_endemic_singletons(daisie_data)
daisie_data |
a DAISIE A A The first element of the list has two or three components:
Then, depending on whether a distinction between types is made, we have:
or:
The remaining elements of
the
|
Boolean
Joshua W. Lambert
## Not run:
island <- DAISIEmainland::sim_island_with_mainland(
total_time = 1,
m = 100,
island_pars = c(1, 1, 10, 0.1, 1),
mainland_ex = 0.1,
mainland_sample_prob = 1,
mainland_sample_type = "complete",
replicates = 2,
verbose = FALSE
)
bool <- all_endemic_singletons(island$ideal_islands[[1]])
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.