simulatorAll: Title

Description Usage Arguments Value Examples

View source: R/simulatorAll.R

Description

Title

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
simulatorAll(
  grid = 20,
  Nt = 50,
  timestep = 30,
  topography = "sinusoidal",
  Elim = 5,
  amplitude = 1,
  ruggedness = 1,
  plot = 1,
  muNCI = 124,
  sigmaNCI = 26,
  alpha = -1.32,
  beta = 0.003,
  mu = 0.749,
  sigma = 2.651,
  lambda = 0.31,
  d = 3,
  sigmaGtopo = 1,
  sigmaZtopo = 1,
  sigmaGnci = 26,
  sigmaZnci = 26,
  Pdeath = 0.01325548,
  Ns = 4,
  Rpollination = 1,
  Rdispersion = 1,
  determinist = TRUE,
  verbose = TRUE
)

Arguments

grid

int. Number of cells per side of the matrix.

Nt

int. Number of time-steps.

timestep

int. Time-step length in years.

topography

char. Topography generator between 'sinusoidal', 'squarediamond' or 'paracou'.

Elim

double. Environmental matrix extrme (absolute value).

amplitude

double. Amplitude of the sinusoidal functional.

ruggedness

double. Ruggedness parameter.

plot

int. Plot number between 1 and 15 (a cell size is 3x3m).

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.

sigmaGtopo

double. Variance of genetic values with topography.

sigmaZtopo

double. Plasticity of phenotypes with topography.

sigmaGnci

double. Variance of genetic values with NCI.

sigmaZnci

double. Plasticity of phenotypes with NCI.

Pdeath

double. Background mortality probability.

Ns

int. Number of seedlings per cell.

Rpollination

int. Pollination radius in cells (father to mother).

Rdispersion

int. Dispersal radius in cells (mother to seedling).

determinist

bool. Deterministic or probabilistic viability.

verbose

bool. Should the function print statuses.

Value

A data frame.

Examples

1

sylvainschmitt/ecoevosimulator documentation built on Nov. 19, 2020, 8:04 a.m.