sim.Stasis: Simulate Stasis time-series for trait evolution

Description Usage Arguments Value See Also Examples

View source: R/simpleModels.R

Description

Simulate Stasis time-series for trait evolution

Usage

1
2
sim.Stasis(ns = 20, theta = 0, omega = 0, vp = 1, nn = rep(20,
  ns), tt = 0:(ns - 1))

Arguments

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)

Value

a paleoTS object

See Also

sim.GRW, sim.OU, as.paleoTS

Examples

1
2
3
4
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)

paleoTS documentation built on May 2, 2019, 1:07 p.m.