| ct_fit_speedmodel | R Documentation |
Fits a statistical model to estimate average movement speed of animals. Used in the REM density estimation.
ct_fit_speedmodel(
formula = speed ~ 1,
data,
newdata = NULL,
distance_unit = c("m", "km", "cm"),
time_unit = c("second", "minute", "hour", "day"),
...
)
formula |
A formula indicating how speed should be modeled (e.g., |
data |
A data frame containing speed observations. |
newdata |
Optional new data to use for prediction. |
distance_unit |
Unit of distance. One of |
time_unit |
Unit of time. One of |
... |
Additional arguments passed to |
An object of class sbm, with an additional unit attribute indicating the speed unit.
ct_fit_rem(), ct_fit_detmodel(), ct_fit_activity()
data("ctdp")
observations <- ctdp$data$observations %>%
dplyr::filter(scientificName == "Vulpes vulpes")
ct_fit_speedmodel(speed ~ 1, data = observations)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.