demo_landsepi {landsepi}R Documentation

Package demonstration

Description

run a simulation demonstration with landsepi

Usage

demo_landsepi(
  seed = 5,
  strat = "MO",
  Nyears = 10,
  nTSpY = 120,
  videoMP4 = FALSE
)

Arguments

seed

an interger used as seed for Random Number Generator.

strat

a string specifying the deployment strategy: "MO" for mosaic of resistant cultivars, "MI" for intra-fied mixtures, "RO" for cultivar rotations, and "PY" for resistance gene pyramiding in a cultivar.

Nyears

number of cropping seasons (years) to simulate.

nTSpY

number of time-steps (days) per cropping season.

videoMP4

a logical indicating if a video must be generated (TRUE, default) or not (FALSE).

Details

In these examples on rust fungi of cereal crops, 2 completely efficient resistance sources (typical of major resistance genes) are deployed in the landscape according to one of the following strategies:

Value

A set of text files, graphics and a video showing epidemic dynamics.

See Also

runSimul, runShinyApp

Examples

## Not run: 
## Run demonstrations (in 10-year simulations) for different deployment strategies:
demo_landsepi(strat = "MO") ## for a mosaic of cultivars
demo_landsepi(strat = "MI") ## for a mixture of cultivars
demo_landsepi(strat = "RO") ## for a rotation of cultivars
demo_landsepi(strat = "PY") ## for a pyramid of resistance genes

## End(Not run)

[Package landsepi version 1.4.0 Index]