Description Usage Arguments Details Value Author(s) References See Also Examples
This function calculates AIC values, weights and model-weighted average number of entities inferred using GMYC.
1 2 | AICgmyc(gmyc)
AICweights(AIC)
|
gmyc |
A ‘gmyc’ object created with |
AIC |
A vector of AIC values for which weights are to be calculated. |
AIC.gmyc
implements equations 3 to 6 in Powell (2011).
AICweights
is a generic function that calculates the weights for a given vector of AIC values.
A list with the following elements:
AIC |
Numeric vector of AIC values. |
delta |
Numeric vector of the difference between each value and the minimum (best) AIC value. |
weight |
Numeric vector of AIC weights. |
mean_ent |
Model-averaged number of entities. |
var_ent |
Model-averaged number of entities. |
AICweights
does not return mean_ent
or var_ent
Samuel Brown <s_d_j_brown@hotmail.com>
Powell, J. R. (2011). Accounting for uncertainty in species delineation during the analysis of environmental DNA sequence data. _Methods in Ecology and Evolution_.
1 2 3 4 5 6 7 8 | data(doloGMYC)
data(doloMultGMYC)
AICgmyc(doloGMYC)
AICgmyc(doloMultGMYC)
comb <- c(AICgmyc(doloGMYC)$AIC, AICgmyc(doloMultGMYC)$AIC)
AICweights(comb)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.