View source: R/complexModels.R
fit9models | R Documentation |
This function fits nine models to a time-series following Hunt et al. (2015). These
include the simple models fit by fit4models
along with mode shift and
punctuation models.
fit9models(y, silent = FALSE, method = c("Joint", "AD"), ...)
y |
a |
silent |
logical, if TRUE, progress updates are suppressed |
method |
parameterization to use: |
... |
other arguments, passed to optimization functions |
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.
Hunt, G., M. J. Hopkins and S. Lidgard. 2015. Simple versus complex models of trait evolution and stasis as a response to environmental change. PNAS 112(16): 4885-4890.
## Not run:
x <- sim.Stasis.RW(ns = c(15, 15), omega = 0.5, ms = 1, order = "Stasis-RW")
plot(x)
fit9models(x)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.