Description Usage Arguments Value Examples
View source: R/pack_Phylogeo_Functions_g.R
Function that lists the dispersal events from the genealogies sampled by the MCMC.
1 | PLD_stat_mig(x, sub_sample = 0, first = FALSE)
|
x |
an object of class "phyloland" generated by a call to PLD_interface. |
sub_sample |
a vector of integers that specifies the indexes of the trees and locations to take into account to list the dispersals events. Default is 0, all trees and locations are considered. |
first |
a logical value. If TRUE only the oldest dispersal to a location is taken into account. If FALSE all dispersals are taken into account. |
migmat |
a matrix containing the number of occurences of each dispersal event (departures in rows and destinations in columns). |
timemat |
a 3-dimensional (a*b*c) array with (a) the departure locations, (b) the destination locations and (c) the time (node height) of the dispersal from (a) to (b). |
1 2 3 4 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.