simBMphylo: Creates a graphical illustration of Brownian motion evolution on a phylogeny
Description
The function simulates a discrete-time pure-birth phylogeny (for fixed N and t using rejection sampling) and then discrete-time Brownian motion on that tree. It then proceeds to generating a plot of the results.
the rate of evolution under Brownian motion, \(\sigma^2\), or a vector of rates. If the latter the length of the vector must exactly match t, otherwise the first element of sig2 will just be duplicated t times.
plot
optional logical value indicating whether or not the simulated object should be plotted.
...
optional arguments to be passed to the plot method.