lambda_invasion: Rate of migration followed by survival

Description Usage Arguments Details Value Examples

View source: R/speedestimates.R

Description

Rate of migration followed by survival

Usage

1
2
lambda_invasion(i, K, m, r1, r2, migration_type = 0, death_rate = 1,
  d = NA)

Arguments

i

number of cells of the focus type

K

deme carrying capacity

m

migration rate per cell, relative to birth rate

r1

birth rate of cells in the destination deme, relative to reference birth rate

r2

birth rate of migrating cells, relative to r1

migration_type

0 or 1 (see details)

death_rate

death rate of migrating cells, relative to death rate of cells in destination deme

d

migration distance relative to 1/sqrt(K); if NA then d is set to sqrt(K)

Details

If migration_type = 0 (meaning that migration rate is correlated with birth rate) then the migration rate will be multiplied by a factor of r2 * r1. Otherwise no adjustment will be made.

Value

The rate of migration followed by survival, when $i$ cells are attempting to migrate.

Examples

1
2
lambda_invasion(1, 2, 0.1, 1, 1.1, 0)
lambda_invasion(1, 2, 0.1, 1, 1.1, 1)

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