Function that displays the density plots of the dispersal times for each location.
Usage
PLD_plot_stat_mig(timemat, color = NA, xy_legend = NA, group = 0)
Arguments
timemat
a 3-dimensional (a*b*c) array with (a) the departure locations, (b) the destination locations and (c) the time of the dispersal from (a) to (b), generated by a call to PLD_stat_mig.
color
a set of colors for the density plot.
If NA, rainbow (grDevices) is used.
xy_legend
a vector of 2 values specifying the legend coordinates.
group
locations are grouped according to timemat rownames.