calc_specific_growth_rate: Calculate the specific growth rates, equation 3

Description Usage Arguments Value Author(s) Examples

Description

Calculate the specific growth rates, equation 3

Usage

1
calc_specific_growth_rate(resource_densities, max_growth_rate, hsr)

Arguments

resource_densities

resource densities

max_growth_rate

max growth rate of the focal species

hsr

half-saturation constants for a focal species for each of the resources

Value

the growth rate of the focal species

Author(s)

Richel J.C. Bilderbeek

Examples

1
2
3
4
5
6
7
8
9
  max_growth_rate <- 12.34
  resource_densities <- 23.45
  hsr <- 34.56
  specific_growth_rate <- calc_specific_growth_rate(
    resource_densities = resource_densities,
    max_growth_rate = max_growth_rate,
    hsr = hsr
  )
  testthat::expect_equal(4.988329598, specific_growth_rate)

richelbilderbeek/huisweis documentation built on May 9, 2019, 7:36 a.m.