Description Usage Arguments Value Examples
View source: R/k_function_internal.R
Internal function used to calculate carrying capacity within igp_sim()
1 2 3 4 5 6 7 8 9 10 11 12 | k_function_internal(
k_function,
k_base,
r_max,
n_upstream,
n_patch,
k_c,
k_min_exponent,
k_max_exponent,
river_network_structure,
environment_value
)
|
k_function |
Character string, one of c("patches upstream", "environment", or NULL). |
k_base |
Numeric input scaling the carrying capacity. See details for more information. |
r_max |
Maximum reproductive rate of basal species, B |
n_upstream |
Vector of length = n_patch describing the number (n+1) of upstream patches. Terminal upstream patches have a value of 1. |
n_patch |
The number of total patches |
k_c |
constant (default = 10) used in |
k_min_exponent |
min exponent (default = 1.1) used in |
k_max_exponent |
min exponent (default = 1.35) used in |
river_network_structure |
Logical indicating if this is a branching river network |
environment_value |
Vector of environmental values. Designed to take |
carrying
1 | k_function_internal(k_function, k_base, r_max, n_upstream, n_patch, k_c, k_min_exponent, k_max_exponent, river_network_structure, environment_value)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.