simulating_data | R Documentation |
Generates simulated animal movement tracks based on continuous-time
movement models using ctmm::simulate()
. Supports both single-group
and grouped simulations, as determined by study design and data
parameters. Used within the movedesign
application workflows to
create synthetic data for simulation studies and to evaluate study
design.
simulating_data(rv, seed)
rv |
A
|
seed |
Integer for random number generator, ensuring reproducibility. |
This function simulates animal movement tracks based on the selected
mode and design settings. It first constructs a time sequence using
the specified duration and interval. Depending on the simulation mode
(data_type
), it either retrieves movement models from modList
(for simulated data) or uses meanfitList
or raw movement parameters
to build models (for uploaded or selected data). If a group
comparison is requested, models are prepared for both groups.
Tracks are then simulated using ctmm::simulate()
and subsequently
pseudonymized.
A list of simulated movement datasets:
If grouped = FALSE
, a list with a single simulated track.
If grouped = TRUE
,
a list with two tracks (from groups A and B).
This function is intended for internal use and may assume inputs follow specific structure and constraints not referenced explicitly.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.