| ct_fit_detmodel | R Documentation |
Fits a detection function (either point or line transect) to model detection radius or angle.
ct_fit_detmodel(
formula,
data,
newdata = NULL,
unit = c("m", "km", "cm", "degree", "radian"),
...
)
formula |
A formula specifying the response (e.g., |
data |
A data frame containing detection observations. |
newdata |
Optional new data frame with covariate values for prediction. |
unit |
Unit of the detection variable. One of |
... |
Additional arguments passed to |
a list with elements:
ddf a detection function model object.
dht abundance/density information (if survey region data was supplied,
else NULL)
ct_fit_rem(), ct_fit_speedmodel(), ct_fit_activity()
data("ctdp")
observations <- ctdp$data$observations %>%
dplyr::filter(scientificName == "Vulpes vulpes")
ct_fit_detmodel(radius ~ 1, data = observations)
# For angle
ct_fit_detmodel(angle ~ 1, data = observations)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.