Description Usage Arguments Value
View source: R/trait_pop_sim.R
Function to generate a random carrying capacity landscape as a mix of super-gaussians
1 2 3 4 |
u |
Number of carrying capacity peaks to generate |
h_mean |
The mean height of the carrying capacity peaks |
h_var |
The variance in height of the peaks |
bi_mean |
The mean peak centre value for each of d dimensions; vector of length d |
bi_var |
The variance in peak centre values for each of d dimensions; vector of length d |
h0 |
The maximum height of the carrying capacity on the landscape |
sig0i |
The width of the carrying capacity landscape, e.g. how far it extends before dropping off in each of d dimensions; vector of length d |
P0i |
Total super-gaussian parameter; determines how quickly or gradually the carrying capacity drops off near the landscape borders in each dimension. Higher values give more extreme drop-offs; vector of length d |
sigi_mean |
The mean width of peaks for each of d dimensions; vector of length d |
sigi_var |
The variance in peak widths for each of d dimensions; vector of length d |
Pi_mean |
The mean super-gaussian parameter of peaks for each of d dimensions; determines the sharpness of peak drop-off; vector of length d |
a |
Minimum values of carrying capacity within landscape limits |
hz_min |
Minimum height allowed for any peak |
List of parameter values that can be passed on to other functions such as
K_func
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.