powered by
Extract the AIC from a fitted detection function.
# S3 method for dsmodel AIC(object, ..., k = 2)
a fitted detection function object
optionally more fitted model objects.
penalty per parameter to be used; the default k = 2 is the "classical" AIC
k = 2
David L Miller
if (FALSE) { library(Distance) data(minke) model <- ds(minke, truncation=4) model_hr <- ds(minke, truncation=4, key="hr") # extract the AIC for 2 models AIC(model, model_hr) }
Run the code above in your browser using DataLab