aic.w: Computes AIC weights

Description Usage Arguments Value Author(s) References

View source: R/utilities.R

Description

This function computes AIC weights for a set of 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.

Usage

1
aic.w(aic)

Arguments

aic

vector of AIC values for different fitted models. If the vector has names, these names will be inherited by the vector returned by the function.

Value

A vector of AIC weights.

Author(s)

Liam Revell [email protected]

References

Revell, L. J. (2012) phytools: An R package for phylogenetic comparative biology (and other things). Methods Ecol. Evol., 3, 217-223.


liamrevell/phytools documentation built on Sept. 30, 2018, 1:41 a.m.