Free Access Week-  Data Engineering + BI
Data engineering and BI courses are free!
Free AI Access Week from June 2-8

landsepi (version 1.5.1)

loadDispersalPathogen: Load pathogen dispersal matrices

Description

It loads one of the five built-in vectorised dispersal matrices of rust fungi associated with the five built-in landscapes. Landscape and DispersalPathogen ID must be the same. And set a vectorized identity matrix for sexual reproduction dispersal.

Usage

loadDispersalPathogen(id = 1)

Value

a vectorised dispersal matrix representing the dispersal of clonal propagules, and a vectorised dispersal identity matrix for sexual propagules. All by columns.

Arguments

id

a matrix ID between 1 to 5 (must match the ID of the landscape loaded with loadLandscape).

Details

landsepi includes built-in dispersal matrices to represent rust dispersal in the five built-in landscapes. These have been computed from a power-law dispersal kernel: g(d)=((b2)(b1)/(2pia2))(1+d/a)b with a=40 the scale parameter and b=7 a parameter related to the width of the dispersal kernel. The expected mean dispersal distance is given by 2a/(b3)=20m.

See Also

dispP, setDispersalPathogen

Examples

Run this code
d <- loadDispersalPathogen(1)
d

Run the code above in your browser using DataLab