fit.all.univariate {evoTS}R Documentation

Fit all univariate models to an evolutionary sequence (time-series).

Description

Wrapper function to find maximum likelihood solutions for all univariate models (excluding models with mode shifts) to an evolutionary sequence (time-series).

Usage

fit.all.univariate(y, pool = TRUE)

Arguments

y

an univariate paleoTS object.

pool

indicating whether to pool variances across samples

Value

The function returns a list of all investigated models and their highest log-likelihood (and their corresponding AICc and AICc weight).

Author(s)

Kjetil Lysne Voje

References

Hunt, G. 2006. Fitting and comparing models of phyletic evolution: random walks and beyond. Paleobiology 32:578–601

Hunt, G., Bell, M. A. & Travis, M. P. Evolution towards a new adaptive optimum: Phenotypic evolution in a fossil stickleback lineage. Evolution 62:700–710 (2008)

Examples

## ##Generate a paleoTS object.
x <- paleoTS::sim.GRW(30)

## Fit univariate models to the data.
fit.all.univariate(x, pool = TRUE)


[Package evoTS version 1.0.2 Index]