trans_rate: Moran process transition rates

Description Usage Arguments Value Examples

View source: R/speedestimates.R

Description

Moran process transition rates

Usage

1
trans_rate(i, j, r, K)

Arguments

i

initial population of the focus type

j

new population of the focus type (should be i, i-1 or i+1)

r

relative fitness of the focus type

K

total population size

Value

The transition rate.

Examples

1
trans_rate(1, 2, 1.1, 4)

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