Simulate movement with autoregressive angle residuals
Source:R/diagnostics_long_horizon.R
simulate_hmm_movement_ar_angles.RdSimulate trajectories where the latent angle residual follows a state-specific autoregressive process, useful as a long-horizon diagnostic alternative.
Arguments
- n_times
Number of observations per individual.
- parameters
Parameter list from
create_hmm_movement_parameters().- rho_by_state
State-dependent autoregressive correlations.
- n_individuals
Number of independent individuals.