Description Usage Arguments Details Value Note Author(s) References See Also Examples
View source: R/BioGeoBEARS_basics_v1.R
Given either a list of areas, or a list of states, this function provides a square dispersal matrix giving the relative probability of dispersal between areas. The function fills in these dispersals probabilities with the value 1. The user can then modify this as desired. dispersal_multipliers_matrix Default NULL distances_mat Default NULL x_exponent Default 0
1 2 3 4 | make_dispersal_multiplier_matrix(areas = NULL,
states_list = default_states_list(),
dispersal_multipliers_matrix = NULL,
distances_mat = NULL, x_exponent = 0)
|
areas |
A list of areas; if |
states_list |
A list of states, where each state consists of a list of areas. A default example list is provided. |
dispersal_multipliers_matrix |
Default NULL. |
distances_mat |
Default NULL. |
x_exponent |
Default 0. |
If only a states list is given, the list of areas is
calculated by getting unique
values
from the concatenated states list.
dispersal_multiplier_matrix
A square matrix, with
1s for all cells.
Go BEARS!
Nicholas J. Matzke matzke@berkeley.edu
http://phylo.wikidot.com/matzke-2013-international-biogeography-society-poster
Matzke_2012_IBS
FosterIdiots
1 2 3 4 5 |
Loading required package: rexpokit
Loading required package: cladoRcpp
Loading required package: ape
Loading required package: phylobase
Attaching package: 'phylobase'
The following object is masked from 'package:ape':
edges
A B C
A 1 1 1
B 1 1 1
C 1 1 1
A B C D
A 1 1 1 1
B 1 1 1 1
C 1 1 1 1
D 1 1 1 1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.