fit3models {paleoTS} | R 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", "SSM"), ...)
fit4models(y, silent = FALSE, method = c("Joint", "AD", "SSM"), ...)
Arguments
y |
a |
silent |
if TRUE, results are returned as a list and not printed |
method |
"Joint", "AD", or "SSM"; see |
... |
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
Examples
x <- sim.GRW(ns = 50, ms = 0.2)
fit4models(x)
[Package paleoTS version 0.6.1 Index]