View source: R/teaching-functions.R
| plotOUtreesim | R Documentation | 
A function to visualize a multi-optimum OU process evolving on a phylogeny
plotOUtreesim(pars, tree, ptsperunit = 100, pal = rainbow, aph = 255, lwd = 1)
| pars | A bayou parameter list to simulate the OU process from | 
| tree | A phylogenetic tree | 
| ptsperunit | A number giving the number of points to simulate per unit time | 
| pal | A color palette function | 
| aph | The alpha value for transparency of the lines | 
| lwd | The width of the lines | 
**No return value**, called for **side effects**. The function **generates a plot** showing the simulated trait evolution over time.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.