Learn R Programming

FlywayNet (version 0.1.0)

generate_trajectories_C: Internal C function (do not use).

Description

Simulates trajectories of individual birds.

Usage

generate_trajectories_C(migration, trajectory = NULL, end_time = NULL)

Arguments

migration

A migration (migration structure).

trajectory

Set of trajectories partially simulated (trajectory structure). Default simulated until time step 1 (initial state of each bird).

end_time

Time of the end of simulation. Default is the horizon (last time step).

Value

the simulated trajectories