Make the ending edges of a tree longer/shorter by addLength

extendTipEdges(tree, addLength)

Arguments

tree

a phylo object

addLength

numeric vector of length 1 or length(tree$tip.label)

Value

the tree with modified edge lengths for the edges leading to tips