runSurface(tree, dat, exclude = 0, aic_threshold = 0, max_steps = NULL,
verbose = FALSE, plotaic = FALSE, error_skip = FALSE, only_best = FALSE,
sample_shifts=FALSE, sample_threshold = 2)phylo format
tree, and one or more columns of trait data
aic_threshold
aic_threshold)
FALSE)
FALSE)
FALSE, igraph functions are used to identify pairs of regimes that can be collapsed to improve the model without any inconsistencies (defaults to FALSE)
FALSE)
sample_threshold of the best AICc), rather than deterministically selecting the best candidate model (defaults to FALSE)
sample_shifts=TRUE, and only used in the backward phase if only_best=TRUE)
fwd and bwd.
surfaceForward surfaceBackward surfaceForward and surfaceBackward that are called by runSurface
Ingram, T. & Mahler, D.L. (2013) SURFACE: detecting convergent evolution from comparative data by fitting Ornstein-Uhlenbeck models with stepwise AIC. Methods in Ecology and Evolution 4: 416-425.
Mahler, D.L., Ingram, T., Revell, L.J. & Losos, J.B. (2013) Exceptional convergence on the macroevolutionary landscape in island lizard radiations. Science 341: 292-295.
surfaceBackward, surfaceForward