Default model parameters as in Schneider et al. 2016
Default model parameters as in Schneider et al. 2016
Initialise the default parametrisation for the model for Schneider et al. (2016).
initialise_default_Unscaled_nuts(model, L.mat, temperature =20)
Arguments
model: an object of class ATN (Rcpp_Unscaled_nuts.
L.mat: numeric matrix, probability of a consumer to attack and capture an encountered resource. See create_Lmatrix.
temperature: numeric, ambient temperature of the ecosystem in Celsius.
Returns
An object of class ATN (Rcpp_Unscaled_nuts) with default parameters as in Schneider et al. (2016).
Examples
library(ATNr)set.seed(123)masses <- runif(20,10,100)#body mass of speciesL <- create_Lmatrix(masses,10, Ropt =10)L[L >0]<-1mod <- create_model_Unscaled_nuts(20,10,3, masses, L)mod <- initialise_default_Unscaled_nuts(mod, L)
References
Schneider, F. D., Brose, U., Rall, B. C., & Guill, C. (2016). Animal diversity and ecosystem functioning in dynamic food webs. Nature Communications, 7(1), 1-8.