All functions |
|
---|---|
Function definition for deterministic model run with global dispersal Compute alpha term in Beverton-Holt function |
|
Beverton-Holt function |
|
Check trait weights data.frame |
|
Compute trait distance between species |
|
Compute Hierarchical Competition coefficient at each time step |
|
Generates a data.frame of trait weights |
|
Species growth rate for a given trait and environment |
|
Extract different growth rates from fdcoexist simulation |
|
Extract species mismatches |
|
Generate correlated traits |
|
Generate random traits Compared to generate_cor_traits() introduce a little of variability in first trait as instead of being directly determined by the species number it adds little white noise to it and scale it to a minimum of 0 if negative and maximum of 25 if maximum value is over 25. |
|
Plot mismatch per species between environmental optimum and max. abundance |
|
Function to run the simulation |
|
Plot patch dynamics |
|
Plot hierarchical growth of species in all the patches |
|
Plot environmental response curves of species in all the patches |
|
Extract Species by Patch Growth Rates and Optimal Patches |
|
Scale distance or matrix between 0 and 1 |
|
Plot environmental response curves of species in all the patches |
|
Weighted Kurtosis with na.rm |
|
Weighted mean that allows NA in values and weights |
|
Weighted Skewness with na.rm |
|
Weighted Variance |