powered by
This function takes an object of class 'phylo' and randomly changes the lengths of the leaves.
'phylo'
makeFossil(tree,p=0.5,ex=0.5)
a phylogenetic tree. The tree needs not to be ultrametric and fully dichotomous.
the proportion of tips involved. By default it is half of the number of tips.
the multiplying parameter to change the leaf lengths. It is set at 0.5 by default.
The function produces a phylogeny having the same backbone of the original one.
# NOT RUN { data("DataApes") DataApes$Tstage->Tstage makeFossil(tree=Tstage) # }
Run the code above in your browser using DataLab