modelSelection {RPANDA} | R Documentation |
Phenotypic model selection from tip trait data.
Description
For each model taken as input, fits the model and returns its AIC value in a recap table.
Usage
modelSelection(object, data)
Arguments
object |
a vector of objects of class 'PhenotypicModel'. |
data |
vector of tip trait data. |
Details
Warning : This function relies on the standard R optimizer "optim". It may not always converge well. Please double check the convergence by trying distinct parameter sets for the initialisation.
Value
A recap table presenting the AIC value of each model.
Author(s)
M Manceau
References
Manceau M., Lambert A., Morlon H. (2017) A unifying comparative phylogenetic framework including traits coevolving across interacting lineages Systematic Biology
[Package RPANDA version 2.3 Index]