sim.Stasis | R Documentation |
Simulate Stasis time-series for trait evolution
sim.Stasis( ns = 20, theta = 0, omega = 0, vp = 1, nn = rep(20, ns), tt = 0:(ns - 1) )
ns |
number of populations in the sequence |
theta |
mean of populations |
omega |
variance among populations |
vp |
phenotypic variance within populations |
nn |
vector of population sample sizes |
tt |
vector of population times (ages) |
a paleoTS
object
sim.GRW
, sim.OU
, as.paleoTS
x <- sim.Stasis(omega = 0.5, vp = 0.1) w.sta <- fitSimple(x, model = "Stasis") w.ss <- fitSimple(x, model = "StrictStasis") compareModels(w.sta, w.ss)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.