Learn R Programming

landsepi (version 1.5.2)

Landscape Epidemiology and Evolution

Description

A stochastic, spatially-explicit, demo-genetic model simulating the spread and evolution of a plant pathogen in a heterogeneous landscape to assess resistance deployment strategies. It is based on a spatial geometry for describing the landscape and allocation of different cultivars, a dispersal kernel for the dissemination of the pathogen, and a SEIR ('Susceptible-Exposed-Infectious-Removed’) structure with a discrete time step. It provides a useful tool to assess the performance of a wide range of deployment options with respect to their epidemiological, evolutionary and economic outcomes. Loup Rimbaud, Julien Papaïx, Jean-François Rey, Luke G Barrett, Peter H Thrall (2018) .

Copy Link

Version

Install

install.packages('landsepi')

Monthly Downloads

295

Version

1.5.2

License

GPL (>= 2) | file LICENSE

Maintainer

Jean-Francois Rey

Last Published

July 31st, 2025

Functions in landsepi (1.5.2)

checkSimulParams

Check simulation parameters
checkDispersalHost

Check host dispersal
checkDispersalPathogen

Check pathogen dispersal
evol_output

Generation of evolutionary model outputs
checkOutputs

Check outputs
demo_landsepi

Package demonstration
checkLandscape

Check the landscape
createSimulParams

Create a LandsepiParams object.
dispP

Dispersal matrices for rust fungi of cereal crops.
checkTreatment

Check treatment
compute_audpc100S

Compute AUDPC in a single 100% susceptible field
epid_output

Generation of epidemiological and economic model outputs
checkGenes

Check genes
checkInoculum

Check inoculum
getMatrixCroptypePatho

Get the "croptype/pathogen genotype" compatibility matrix.
checkPI0_mat

Check the array PI0_mat when entered manually in loadInoculum().
checkPathogen

Check pathogen
getMatrixCultivarPatho

Get the "cultivar/pathogen genotype" compatibility matrix.
is.strict.positive

is.strict.positive
getMatrixGenePatho

Get the "resistance gene/pathogen genotype" compatibility matrix.
getMatrixPolyPatho

Get the "polygon/pathogen genotype" compatibility matrix.
invlogit

Inverse logit function
inoculumToMatrix

Inoculum To Matrix
initialize,LandsepiParams-method

LandsepiParams
is.positive

is.positive
is.in.01

is.in.01
is.wholenumber

is.wholenumber
landscapeTEST

Landscapes
loadDispersalPathogen

Load pathogen dispersal matrices
loadDispersalHost

Load a host dispersal matrix
loadPathogen

Load pathogen parameters
loadGene

Load a gene
loadInoculum

Load Inoculum
plot_allocation

Plotting allocation of croptypes in a landscape
loadLandscape

Load a landscape
landsepi-package

Landscape Epidemiology and Evolution
loadOutputs

Load outputs
periodic_cov

Periodic covariance function
loadCultivar

Load a cultivar
loadTreatment

Load treatment parameters
logit

Logit function
model_landsepi

Model for Landscape Epidemiology & Evolution
loadCroptypes

Load Croptypes
multiN

Allocation of cultivars
resetCultivarsGenes

Reset cultivars genes
price_reduction

Price reduction function
saveDeploymentStrategy

Save landscape and deployment strategy
print

print
runSimul

Run a simulation
setGenes

Set genes
plot_freqPatho

Plotting pathotype frequencies
setDispersalHost

Set host dispersal
loadSimulParams

Load simulation parameters
plotland

Plotting the landscape
setCroptypes

Set croptypes
show

show
setTreatment

Set chemical treatments
setDispersalPathogen

Set pathogen dispersal
summary

summary
survivalProbToMatrix

Survival probability To Matrix
simul_landsepi

Simulation with input parameters as data.frames.
runShinyApp

runShinyApp
switch_patho_to_aggr

Switch from index of genotype to indices of agressiveness on different components
setOutputs

Set outputs
setInoculum

Set inoculum
setLansdcape

Set the landscape
video

Generation of a video
setPathogen

Set the pathogen
setSeed

Set the seed
setCultivars

Set cultivars
setSeedValue

setSeedValue
updateSurvivalProb

Update pathogen survival probability during the off-season
setTime

Set time parameters
updateReproSexProb

Update the probability of sexual reproduction
LandsepiParams

Class LandsepiParams
checkCroptypes

Check croptypes
antideriv_verhulst

Antiderivative of the Verhulst logistic function
allocateCroptypeCultivars

Allocate cultivars to one croptype
checkCultivars

Check cultivars
Cultivars_list

Cultivars Type list
allocateCultivarGenes

Allocate genes to a cultivar
checkCultivarsGenes

Check cultivars genes
allocateLandscapeCroptypes

Allocate croptypes to the landscape
AgriLand

Landscape allocation
checkTime

Check time