Description Usage Arguments Value Examples
Random generator of deltaNCI based on a proability p to be negative used in a Bernoulli distribution. Negative deltaNCI follow an exponential distribution of parameter lambda. Positive deltaNCI follow a lognormal distribution of parameters mu and sigma. Default parameters correspond to values inferred in the control and biodiversity plots of Paracou.
1 2 3 4 5 6 7 8 |
NCI |
double. Vector of previous NCI (size of the vector determines number of generated deltaNCI). |
alpha |
double. Intercept for the Bernoulli distribution determining the risk to have a negative deltaNCI. |
beta |
double. Slope of previous NCI for the Bernoulli distribution determining the risk to have a negative deltaNCI. |
mu |
double. mu parameter for the lognormal distribution used for positive deltaNCI. |
sigma |
double. sigma parameter for the lognormal distribution used for positive deltaNCI. |
lambda |
double. lambda parameter for the exponential distribution used for negative deltaNCI. |
A vector of n generated delta nci.
1 | rdeltanci(1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.