plotOUtreesim: A function to visualize a multi-optimum OU process evolving...

View source: R/teaching-functions.R

plotOUtreesimR Documentation

A function to visualize a multi-optimum OU process evolving on a phylogeny

Description

A function to visualize a multi-optimum OU process evolving on a phylogeny

Usage

plotOUtreesim(pars, tree, ptsperunit = 100, pal = rainbow, aph = 255, lwd = 1)

Arguments

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

Value

**No return value**, called for **side effects**. The function **generates a plot** showing the simulated trait evolution over time.


bayou documentation built on June 10, 2025, 5:13 p.m.