View source: R/check_event_times.R
check_event_times | R Documentation |
event_times
is valid.Check if a event_times
is valid.
Will stop if not
check_event_times(event_times)
event_times |
the island age, stem age of species, and -for cladogenetic species- speciation times, as checked by check_event_times |
event_times
contains:
for cladogenetic species: the island age and event times of the radiation, including the stem age of the radiation
for non-endemic, non-endemic_MaxAge and Endemic anagenetic species: island age and stem age of the population/species
A valid event_times
...
is numeric
has only finite values
has at least 1 element (which equals the island age)
has only positive non-zero values (although zero is accepted, to prevent false negatives by rounding off errors)
has a descending order
nothing
Richèl J.C. Bilderbeek
check_event_times(1.0)
check_event_times(c(1.0, 0.25))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.