AICgmyc: Calculate AIC values for GMYC objects

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/AICgmyc.R

Description

This function calculates AIC values, weights and model-weighted average number of entities inferred using GMYC.

Usage

1
2

Arguments

gmyc

A ‘gmyc’ object created with gmyc.

AIC

A vector of AIC values for which weights are to be calculated.

Details

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.

Value

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

Author(s)

Samuel Brown <s_d_j_brown@hotmail.com>

References

Powell, J. R. (2011). Accounting for uncertainty in species delineation during the analysis of environmental DNA sequence data. _Methods in Ecology and Evolution_.

See Also

gmyc

Examples

1
2
3
4
5
6
7
8

spiderDev documentation built on May 2, 2019, 5:23 p.m.

Related to AICgmyc in spiderDev...