aic.w {phytools} | R Documentation |
Computes Akaike weights
Description
Computes Akaike weights based on a set of AIC values.
Usage
aic.w(aic)
Arguments
aic |
vector of Akaike Information Criterion (AIC; Akaike, 1974) values for different fitted models. If the vector has names, these names will be inherited by the vector returned by the function. |
Details
This function computes Akaike weights from a set of AIC values obtained from fitted models.
It returns an object of class "aic.w"
which is just a vector which allows it to be automatically printed with a numerical precision of 8 significant digits.
Value
A vector of Akaike weights.
Author(s)
Liam Revell liam.revell@umb.edu
References
Akaike, H. (1974) A new look at the statistical model identification. IEEE Transactions on Automatic Control, 19, 716-723.
Revell, L. J. (2024) phytools 2.0: an updated R ecosystem for phylogenetic comparative methods (and other things). PeerJ, 12, e16505.