calc_rates: Calculate rates for island processes

View source: R/calc_rates.R

calc_ratesR Documentation

Calculate rates for island processes

Description

Internal function that updates the all the rates at time t.

Usage

calc_rates(gam, laa, lac, mu, k, num_spec, num_immigrants, mainland_n)

Arguments

gam

Numeric with the per capita immigration rate.

laa

Numeric with the per capita anagenesis rate.

lac

Numeric with the per capita cladogenesis rate.

mu

Numeric with the per capita extinction rate.

k

Numeric with carrying capacity.

num_spec

Numeric with the current number of species.

num_immigrants

Numeric with the current number of non-endemic species.

mainland_n

Numeric stating the number of mainland species that can colonize the island.

Value

Named list with rates.

Author(s)

Joshua W. Lambert


joshwlambert/DAISIEmainland documentation built on July 14, 2024, 5:40 p.m.