fit3models: Fit a set of standard evolutionary models

fit3modelsR Documentation

Fit a set of standard evolutionary models

Description

Fit a set of standard evolutionary models

Usage

fit3models(y, silent = FALSE, method = c("Joint", "AD"), ...)

fit4models(y, silent = FALSE, method = c("Joint", "AD"), ...)

Arguments

y

a paleoTS object

silent

if TRUE, results are returned as a list and not printed

method

"Joint" or "AD", see fitSimple

...

other arguments passed to model fitting functions

Details

Function fit3models fits the general (biased) random walk (GRW), unbiased random walk (URW), and Stasis models. In addition to these three, fit4models also fits the model of Strict Stasis.

Value

if silent = FALSE, a table of model fit statistics, also printed to the screen. if silent = TRUE, a list of the model fit statistics and model parameter values.

Functions

  • fit4models(): add model of "Strict Stasis" to the three models

See Also

fitSimple

Examples

x <- sim.GRW(ns = 50, ms = 0.2)
fit4models(x)

paleoTS documentation built on Aug. 9, 2022, 1:06 a.m.