sim.adaptive.multi.data- Simulate Direct Effect + Adaptive Data with Multiple X Traits
Usage
sim.direct.adaptive.data(
phy,
N,
Z_direct,
Z_adaptive,
hl,
vy,
Sxx,
optima,
beta
)
Arguments
- phy
An object of the class "phylo"
- N
Number of tips on tree
- Z_direct
Number of direct effect traits
- Z_adaptive
Number of adaptive traits
- hl
True half-life value
- vy
True Vy value
- Sxx
Instantaneous variance of the BM process
- optima
True optima
- beta
True beta
Value
Merged phylogeny and data in treeplyr format