Learn R Programming

BioGeoBEARS (version 0.2.1)

getAIC_weight_for_model1: Calculate Akaike Weight

Description

See Burnham et al. (2002) and http://www.brianomeara.info/tutorials/aic for discussion of AIC and its uses.

Usage

getAIC_weight_for_model1(AICval_1, AICvals)

Arguments

AICval_1
The AIC of the model of interest.
AICvals
The AICs of all the models being compared.

Value

AICweight AICweight for the models.

References

http://phylo.wikidot.com/matzke-2013-international-biogeography-society-poster http://www.brianomeara.info/tutorials/aic

Burnham_Anderson_2002

Matzke_2012_IBS

See Also

AkaikeWeights_on_summary_table

Examples

Run this code
test=1

AICval_1 = 20
AICvals = c(20,30,40)
getAIC_weight_for_model1(AICval_1, AICvals)

Run the code above in your browser using DataLab