all_descendants_conspecific {DAISIEprep} | R Documentation |
Checks whether all species given in the descendants vector are the same species.
Description
Checks whether all species given in the descendants vector are the same species.
Usage
all_descendants_conspecific(descendants)
Arguments
descendants |
A vector character strings with the names of species to determine whether they are the same species. |
Value
Boolean
Examples
# Example where species are not conspecific
descendants <- c("bird_a", "bird_b", "bird_c")
all_descendants_conspecific(descendants = descendants)
# Example where species are conspecific
descendants <- c("bird_a_1", "bird_a_2", "bird_a_3")
all_descendants_conspecific(descendants = descendants)
[Package DAISIEprep version 0.4.0 Index]