modelSelection function

Phenotypic model selection from tip trait data.

Phenotypic model selection from tip trait data.

For each model taken as input, fits the model and returns its AIC value in a recap table.

modelSelection(object, 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.

Arguments

  • object: a vector of objects of class 'PhenotypicModel'.
  • data: vector of tip trait data.

Returns

A recap table presenting the AIC value of each model.

References

Manceau M., Lambert A., Morlon H. (2017) A unifying comparative phylogenetic framework including traits coevolving across interacting lineages Systematic Biology

Author(s)

M Manceau