AIC: AIC

View source: R/fastsimcoal.R

AICR Documentation

AIC

Description

compute the AIC given the likelihood in log10 scale (default fsc output) and number of parameters, which is automatically read by the function if k=NULL.

Usage

AIC(dir.in, k = NULL)

Arguments

dir.in

The directory where the analysis was conducted

k

The number of parameters in the model. If NULL is read automatically by the function

Details

It is important to note that this function will probably fail if there are more than one .est within each directory as it will read these to evaluate the number of parameters in the model. If there is more than one file, there is no way to know which one is correct.

References

Excoffier L., Dupanloup I., Huerta-Sánchez E., Sousa V. C. and Foll M. (2013) Robust demographic inference from genomic and SNP data. PLoS genetics 9(10)


carlopacioni/amplicR documentation built on Aug. 19, 2023, 7:59 p.m.