sim.reg.data- Simulate Multi-Optima Data
Usage
sim.reg.data(phy, N, hl, vy, Sxx, optima, shifts)
Arguments
- phy
An object of the class "phylo"
- N
Number of tips on tree
- hl
True half-life value
- vy
True Vy value
- Sxx
Instantaneous variance of the BM process
- optima
True optima
- shifts
Nodes for regime shifts
Value
Merged phylogeny and data in treeplyr format