summarize_ds_models {Distance} | R Documentation |
Make a table of summary statistics for detection function models
Description
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 |
output |
should the output be given in |
delta_only |
only output AIC differences (default |
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(s)
David L Miller
Examples
## Not run:
# 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")
## End(Not run)
[Package Distance version 1.0.9 Index]