Skip to contents

Provide a summary table of useful information about fitted detection functions. This can be useful when paired with knitr's kable function. By default models are sorted by AIC and will therefore not allow models with different truncations and distance binning.

Usage

summarize_ds_models(..., sort = "AIC", output = "latex", delta_only = TRUE)

Arguments

...

models to be summarised

sort

column to sort by (default "AIC")

output

should the output be given in "latex" compatible format or as "plain" text?

delta_only

only output AIC differences (default TRUE)

Details

Note that the column names are in LaTeX format, so if you plan to manipulate the resulting data.frame in R, you may wish to rename the columns for ease of access.

Author

David L Miller

Examples

if (FALSE) { # \dontrun{
# fit some models to the golf tee data
library(Distance)
data(book.tee.data)
tee.data <- subset(book.tee.data$book.tee.dataframe, observer==1)
model_hn <- ds(tee.data,4)
model_hr <- ds(tee.data,4, key="hr")
summarize_ds_models(model_hr, model_hn, output="plain")
} # }