Checks if a tree is a phylo class object otherwise it uses input_process. Additionally it can check if tree is a chronogram with phylo_check
tree_check(tree = NULL, ...)If tree is correctly formatted, it returns a phylo object.
A tree either as a newick character string or as a phylo object.
Arguments passed on to phylo_check
brlenBoolean. If TRUE it checks if phylo object has branch lengths.
datedBoolean. If TRUE it checks if phylo object is ultrametric.