Validate that the object is a rankedPhylo object with a proper structure and type.
validate_rankedPhylo(x)This function doesn't have a return value.
an object of class "rankedPhylo"
This is internal function used for testing purposes.
"rankedPhylo" is a subclass of "phylo" object with several restrictions given by the structure
of the represented ranked tree.
validate_rankedPhylo checks these restrictions and throw a particular error, if the object
fails any of these restrictions.