tree_check {datelife}R Documentation

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

Description

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

Usage

tree_check(tree = NULL, ...)

Arguments

tree

A tree either as a newick character string or as a phylo object.

...

Arguments passed on to phylo_check

brlen

Boolean. If TRUE it checks if phylo object has branch lengths.

dated

Boolean. If TRUE it checks if phylo object is ultrametric.

Value

If tree is correctly formatted, it returns a phylo object.


[Package datelife version 0.6.8 Index]