brnet | R Documentation |
Generate a random branching network
brnet(
n_patch = 50,
p_branch = 0.5,
mean_env_source = 0,
sd_env_source = 1,
rho = 1,
sd_env_lon = 0.1,
mean_disturb_source = 0.9,
sd_disturb_source = 1,
sd_disturb_lon = 0.1,
randomize_patch = TRUE,
n_patch_free = FALSE
)
n_patch |
Number of patches in a network. |
p_branch |
Branching probability (success probability of a geometric distribution). |
mean_env_source |
Mean value of environmental condition at upstream origins of water. |
sd_env_source |
SD of environmental condition at upstream origins of water. |
rho |
Strength of spatial autocorrelation in environmental condition. |
sd_env_lon |
SD of longitudinal environmental noise. The SD is defined in a logit scale with a normal distribution. |
mean_disturb_source |
Mean disturbance strength at upstream origins of water. The value represents the proportional mortality (0 - 1.0). |
sd_disturb_source |
SD of disturbance strength at upstream origins of water. The SD is defined in a logit scale with a normal distribution. |
sd_disturb_lon |
SD of longitudinal noise of disturbance strength. The SD is defined in a logit scale with a normal distribution. |
randomize_patch |
Logical
indicating whether patches are randomized or not.
If |
n_patch_free |
Logical indicating
whether imposing a constraint on |
see package webpage for instruction
Akira Terui, hanabi0111@gmail.com
## Not run:
# not run
brnet(n_patch = 10, p_branch = 0.5)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.