Learn R Programming

phyloland (version 1.3)

PLD_plot_stat_mig: Plot dispersal statistics

Description

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.

Examples

Run this code
data(Banza)
stat = PLD_stat_mig(x = Banza, sub_sample = 100:200, first = TRUE)
PLD_plot_stat_mig(timemat = stat$timemat)

Run the code above in your browser using DataLab