Insert internal nodes in the phylogenetic tree
insert_nodes.RdIt adds non-bifurcating nodes in the branches of the phylogenetic tree to represent events of ancestral character changes, specifically change in range states from biogeographic ancestral reconstruction.
Arguments
- tree
An object of class 'phylo'.
- inserts
a data frame create with the function
get_insert_df()- node_area
default NULL. One column data frame indicating the range area of each node (rows)