Generates epidemiological and economic outputs from model simulations.

epid_output(
  types = "all",
  time_param,
  Npatho,
  area,
  rotation,
  croptypes,
  cultivars_param,
  eco_param,
  treatment_param,
  pathogen_param,
  audpc100S = 0.76,
  writeTXT = TRUE,
  graphic = TRUE,
  path = getwd()
)

Arguments

types

a character string (or a vector of character strings if several outputs are to be computed) specifying the type of outputs to generate (see details):

  • "audpc": Area Under Disease Progress Curve

  • "audpc_rel": Relative Area Under Disease Progress Curve

  • "gla": Green Leaf Area

  • "gla_rel": Relative Green Leaf Area

  • "eco_yield": Total crop yield

  • "eco_cost": Operational crop costs

  • "eco_product": Crop products

  • "eco_margin": Margin (products - operational costs)

  • "contrib": contribution of pathogen genotypes to LIR dynamics

  • "HLIR_dynamics", "H_dynamics", "L_dynamics", "IR_dynamics", "HLI_dynamics", etc.: Epidemic dynamics related to the specified sanitary status (H, L, I or R and all their combinations). Graphics only, works only if graphic=TRUE.

  • "all": compute all these outputs (default).

time_param

list of simulation parameters:

  • Nyears = number cropping seasons,

  • nTSpY = number of time-steps per cropping season.

Npatho

number of pathogen genotypes.

area

a vector containing polygon areas (must be in square meters).

rotation

a dataframe containing for each field (rows) and year (columns, named "year_1", "year_2", etc.), the index of the cultivated croptype. Importantly, the matrix must contain 1 more column than the real number of simulated years.

croptypes

a dataframe with three columns named 'croptypeID' for croptype index, 'cultivarID' for cultivar index and 'proportion' for the proportion of the cultivar within the croptype.

cultivars_param

list of parameters associated with each host genotype (i.e. cultivars):

  • name = vector of cultivar names,

  • initial_density = vector of host densities (per square meter) at the beginning of the cropping season as if cultivated in pure crop,

  • max_density = vector of maximum host densities (per square meter) at the end of the cropping season as if cultivated in pure crop,

  • cultivars_genes_list = a list containing, for each host genotype, the indices of carried resistance genes.

eco_param

a list of economic parameters for each host genotype as if cultivated in pure crop:

  • yield_perHa = a dataframe of 4 columns for the theoretical yield associated with hosts in sanitary status H, L, I and R, as if cultivated in pure crops, and one row per host genotype (yields are expressed in weight or volume units / ha / cropping season),

  • planting_cost_perHa = a vector of planting costs (in monetary units / ha / cropping season),

  • market_value = a vector of market values of the production (in monetary units / weight or volume unit).

treatment_param

list of parameters related to pesticide treatments:

  • treatment_degradation_rate = degradation rate (per time step) of chemical concentration,

  • treatment_efficiency = maximal efficiency of chemical treatments (i.e. fractional reduction of pathogen infection rate at the time of application),

  • treatment_timesteps = vector of time-steps corresponding to treatment application dates,

  • treatment_cultivars = vector of indices of the cultivars that receive treatments,

  • treatment_cost = cost of a single treatment application (monetary units/ha)

  • treatment_application_threshold = vector of thresholds (i.e. disease severity, one for each treated cultivar) above which the treatment is applied in a polygon

pathogen_param

a list of i. pathogen aggressiveness parameters on a susceptible host for a pathogen genotype not adapted to resistance and ii. sexual reproduction parameters:

  • infection_rate = maximal expected infection rate of a propagule on a healthy host,

  • propagule_prod_rate = maximal expected effective propagule production rate of an infectious host per time step,

  • latent_period_mean = minimal expected duration of the latent period,

  • latent_period_var = variance of the latent period duration,

  • infectious_period_mean = maximal expected duration of the infectious period,

  • infectious_period_var = variance of the infectious period duration,

  • survival_prob = probability for a propagule to survive the off-season,

  • repro_sex_prob = probability for an infectious host to reproduce via sex rather than via cloning,

  • sigmoid_kappa = kappa parameter of the sigmoid contamination function,

  • sigmoid_sigma = sigma parameter of the sigmoid contamination function,

  • sigmoid_plateau = plateau parameter of the sigmoid contamination function,

  • sex_propagule_viability_limit = maximum number of cropping seasons up to which a sexual propagule is viable

  • sex_propagule_release_mean = average number of seasons after which a sexual propagule is released,

  • clonal_propagule_gradual_release = whether or not clonal propagules surviving the bottleneck are gradually released along the following cropping season.

audpc100S

the audpc in a fully susceptible landscape (used as reference value for graphics).

writeTXT

a logical indicating if the output is written in a text file (TRUE) or not (FALSE).

graphic

a logical indicating if a tiff graphic of the output is generated (only if more than one year is simulated).

path

path of text file (if writeTXT = TRUE) and tiff graphic (if graphic = TRUE) to be generated.

Value

A list containing, for each required type of output, a matrix summarising the output for each year and cultivar (as well as the whole landscape). Each matrix can be written in a txt file (if writeTXT=TRUE), and illustrated in a graphic (if graphic=TRUE).

Details

Outputs are computed every year for every cultivar as well as for the whole landscape.

Epidemiological outputs.

The epidemiological impact of pathogen spread can be evaluated by different measures:

  1. Area Under Disease Progress Curve (AUDPC): average number of diseased host individuals (status I + R) per time step and square meter.

  2. Relative Area Under Disease Progress Curve (AUDPCr): average proportion of diseased host individuals (status I + R) relative to the total number of existing hosts (H+L+I+R).

  3. Green Leaf Area (GLA): average number of healthy host individuals (status H) per time step and per square meter.

  4. Relative Green Leaf Area (GLAr): average proportion of healthy host individuals (status H) relative to the total number of existing hosts (H+L+I+R).

  5. Contribution of pathogen genotypes: for every year and every host (as well as for the whole landscape and the whole simulation duration), fraction of cumulative LIR infections attributed to each pathogen genotype.

Economic outputs.

The economic outcome of a simulation can be evaluated using:

  1. Crop yield: yearly crop yield (e.g. grains, fruits, wine) in weight (or volume) units per hectare (depends on the number of productive hosts and associated theoretical yield).

  2. Crop products: yearly product generated from sales, in monetary units per hectare (depends on crop yield and market value). Note that when disease = "mildew" a price reduction between 0% and 5% is applied to the market value depending on disease severity.

  3. Operational crop costs: yearly costs associated with crop planting (depends on initial host density and planting cost) and pesticide treatments (depends on the number of applications and the cost of a single application) in monetary units per hectare.

  4. Crop margin, i.e. products - operational costs, in monetary units per hectare.

References

Rimbaud L., Papaïx J., Rey J.-F., Barrett L. G. and Thrall P. H. (2018). Assessing the durability and efficiency of landscape-based strategies to deploy plant resistance to pathogens. PLoS Computational Biology 14(4):e1006067.

See also

Examples

if (FALSE) {
demo_landsepi()
}