Usage
sim.GRW(ns = 20, ms = 0, vs = 0.1, vp = 1, nn = rep(20, ns), tt = 1:ns)
sim.Stasis(ns = 20, theta = 0, omega = 0, vp = 1, nn = rep(20,ns), tt = 1:ns)
Arguments
ns
number of samples in time-series
ms
mean of the step distribution, random walk model
vs
variance of the step distribution, random walk model
vp
within-population trait variance
nn
vector of the number of individuals in each sample
tt
vector of sample ages, increases from oldest to youngest
theta
evolutionary optimum, stasis model
omega
evolutionary variance, stasis model