is_datelife_query {datelife} | R Documentation |
Check if input is a datelifeQuery
object
Description
is_datelife_query
checks for two things to be TRUE
or FALSE
.
First, that input
is of class datelifeQuery.
Second, that input
is a list that contains at least two elements of a datelifeQuery
object:
- cleaned_names
A character vector of taxon names.
- phy
Either NA or a
phylo
object.
Usage
is_datelife_query(input)
Arguments
input |
An object to be checked as an object with essential properties of a 'datelifeQuery' object. |
Details
If the object has the correct format but it has a class different than
datelifeQuery
, the class is not modified.
Value
Is determined by the second condition.
[Package datelife version 0.6.8 Index]