fit3models | R Documentation |
Fit a set of standard evolutionary models
fit3models(y, silent = FALSE, method = c("Joint", "AD", "SSM"), ...)
fit4models(y, silent = FALSE, method = c("Joint", "AD", "SSM"), ...)
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 |
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.
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.
fit4models()
: add model of "Strict Stasis" to the three models
fitSimple
x <- sim.GRW(ns = 50, ms = 0.2)
fit4models(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.