AIC | R Documentation |
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
.
AIC(dir.in, k = NULL)
dir.in |
The directory where the analysis was conducted |
k |
The number of parameters in the model. If |
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.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.