Description Usage Arguments Details Value Note Author(s) References See Also Examples
View source: R/BioGeoBEARS_generics_v1.R
Calculate deltaAIC (Akaike Information Criterion), the absolute difference between the best model (lowest AIC) and other models. This function does it pairwise only, with a reference model.
1 2 | get_deltaAIC_pairwise_w_ref_model(AICvals,
ref_model = "best")
|
AICvals |
A vector of AIC values. |
ref_model |
What is the row of the reference model? "best", "worst", or a row number. |
See Burnham et al. (2002) and http://www.brianomeara.info/tutorials/aic for discussion of AIC and its uses.
deltaAICs_pairwise
A 2-column
data.frame
of pairwise deltaAICs for
each row (column 1) and the reference model (column 2).
Go BEARS!
Nicholas J. Matzke matzke@berkeley.edu
http://phylo.wikidot.com/matzke-2013-international-biogeography-society-poster http://www.brianomeara.info/tutorials/aic
Burnham_Anderson_2002
Matzke_2012_IBS
get_deltaAIC
,
rel_likes_from_deltaAICs
,
getAIC
1 2 3 4 5 | test=1
AICvals = c(40, 50, 60)
get_deltaAIC(AICvals)
get_deltaAIC_pairwise_w_ref_model(AICvals, ref_model="best")
|
Loading required package: rexpokit
Loading required package: cladoRcpp
Loading required package: ape
Loading required package: phylobase
Attaching package: 'phylobase'
The following object is masked from 'package:ape':
edges
[1] 0 10 20
deltaAIC_row deltaAIC_ref
1 0 0
2 10 0
3 20 0
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.