loadDispersalPathogen: Load pathogen dispersal matrices

View source: R/Methods-LandsepiParams.R

loadDispersalPathogenR Documentation

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)

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) = ((b-2)*(b-1) / (2*pi*a^2)) * (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 2*a /(b-3) = 20 m .

Value

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

See Also

dispP, setDispersalPathogen

Examples

d <- loadDispersalPathogen(1)
d

landsepi documentation built on July 26, 2023, 5:36 p.m.