AIC.dsmodel | R Documentation |
Extract the AIC from a fitted detection function.
## S3 method for class 'dsmodel'
AIC(object, ..., k = 2)
object |
a fitted detection function object |
... |
optionally more fitted model objects. |
k |
penalty per parameter to be used; the default |
David L Miller
## Not run:
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)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.