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


uyedaj/bayou documentation built on Jan. 28, 2024, 5:09 a.m.