Description Usage Arguments Value Examples
Generate NCI over space and time
1 2 3 4 5 6 7 8 9 10 11 12 13 | generateNCI(
grid = 20,
Nt = 50,
timestep = 30,
muNCI = 124,
sigmaNCI = 26,
alpha = -1.32,
beta = 0.003,
mu = 0.749,
sigma = 2.651,
lambda = 0.31,
d = 3
)
|
grid |
int. Number of cells per side of the matrix. |
Nt |
int. Number of time-steps. |
timestep |
int. Time-step length in years. |
muNCI |
double. mu parameter for the normal distribution used for NCI. |
sigmaNCI |
double. sigma parameter for the normal distribution used for NCI. |
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. |
d |
int. Spatial auto-correlation size in number of cells. |
A data frame with columns Time, X, Y and NCI.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.