get_carr_cap: Get the carrying capacity for a given trait value

Description Usage Arguments Author(s)

View source: R/get_carr_cap.R

Description

Computes the carrying capacity experienced by an individual with trait value trait.

Usage

1
2
3
4
5
6
get_carr_cap(
  trait_ind,
  trait_opt = default_trait_opt(),
  carr_cap_opt = default_carr_cap_opt(),
  carr_cap_width = default_carr_cap_width()
)

Arguments

trait_ind

numeric. Trait value z of a focal individual.

trait_opt

numeric. Optimal trait value z_{opt}, such that get_carr_cap(trait_opt) = carr_cap_opt.

carr_cap_opt

numeric. Maximum carrying capacity at z = z_{opt}. Note that this corresponds to the maximum number of competitors for that trait value, as the focal individual does not contribute to the carrying capacity (see also get_fitness).

carr_cap_width

numeric >= 0 0. σ^{2}_{K}. Controls how fast the carrying capacity decays as the distance between a trait and trait_opt increases. σ^{2}_{K}

Author(s)

Theo Pannetier


TheoPannetier/comrad documentation built on Feb. 18, 2020, 6 a.m.