PLD_plot_stat_mig: Plot dispersal statistics

Description Usage Arguments Examples

View source: R/pack_Phylogeo_Functions_g.R

Description

Function that displays the density plots of the dispersal times for each location.

Usage

1
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

1
2
3
data(Banza)
stat = PLD_stat_mig(x = Banza, sub_sample = 100:200, first = TRUE)
PLD_plot_stat_mig(timemat = stat$timemat)

phyloland documentation built on May 2, 2019, 6:46 a.m.