plot_trajectories: Barplot of birds counts par site and per time step, given bird trajectories.
Description
Barplot of birds counts par site and per time step, given bird trajectories.
Usage
plot_trajectories(migr, traj)
Arguments
migr
A migration structure.
traj
A trajectory matrix with a trajectory for each bird, matrix N x (horizon+1).
Value
Barplot of birds counts and return a count matrix (S+2) x (horizon+1)
with, at each time step (0,...,horizon), specify the number of bird on each site (rows 1,...,S),
flying (row S+1) and dead (row S+2).