makeMigMat: Make Migration Matrix

Description Usage Arguments Value Author(s)

View source: R/makeMigMat.R

Description

Create island or stepping stone migration matrix given migration rate and number of populations.

Usage

1
makeMigMat(mig.rate, num.pops, type = c("island", "stepping.stone"))

Arguments

mig.rate

migration rate specified as proportion of population migrating per generaton.

num.pops

number of populations.

type

of migration matrix structure. "island" = rate between all populations is the same. "stepping.stone" = migration only occurs between neighboring populations. Metapopulation is ring shaped, not a linear chain.

Value

matrix of pairwise migration rates.

Author(s)

Eric Archer eric.archer@noaa.gov


EricArcher/ebvSim documentation built on April 9, 2020, 3:39 p.m.