mig_rate: Demon migration rate

Description Usage Arguments Details Value Examples

View source: R/speedestimates.R

Description

Quadratic formula used to set migration rate in demon.cpp

Usage

1
2
mig_rate(K, migration_type = 0, migration_edge_only = 0,
  migration_rate_scales_with_K = 1)

Arguments

K

deme carrying capacity

migration_type

0, 1, 2 or 3 (see details)

migration_edge_only

whether migration occurs at the edge only

migration_rate_scales_with_K

whether to divide by sqrt(K)

Details

Meaning of migration_type:

Value

The dispersal speed.

Examples

1
2
mig_rate(32)
mig_rate(32, migration_type = 2)

robjohnnoble/demonanalysis documentation built on June 30, 2020, 12:47 a.m.