View source: R/cu_crw_sample.R
cu_crw_sample | R Documentation |
Uses a list of CRW fitted models and desired simulation times to make draws from the location (and velocity) posterior distribution for telemetered animals.
cu_crw_sample(
fit,
size = 8,
predTime = NULL,
barrier = NULL,
vis_graph = NULL,
as_sf = TRUE,
...
)
fit |
A CRW fit object |
size |
The number of posterior draws. Defaults to 8 (See Details). |
predTime |
A character string describing the desired frequency of prediction,
e.g., |
barrier |
An |
vis_graph |
A visibility graph constructed with the R package |
as_sf |
Logical. Return an |
... |
Additional arguments passed to the |
The R package pathroutr
is necessary for use of the barrier
rerouting.
it can be installed with the command
install.packages('pathroutr', repos='https://jmlondon.r-universe.dev')
.
See 'https://github.com/jmlondon/pathroutr' for a description of use and constructing the
viability vis_graph
.
Devin S. Johnson
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.