View source: R/summarize_ds_models.R
summarize_ds_models | R Documentation |
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.
summarize_ds_models(..., sort = "AIC", output = "latex", delta_only = TRUE)
... |
models to be summarised |
sort |
column to sort by (default |
output |
should the output be given in |
delta_only |
only output AIC differences (default |
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.
David L Miller
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.