View source: R/Methods-LandsepiParams.R
loadDispersalHost | R Documentation |
It loads a vectorised diagonal matrix to simulate no host dispersal.
loadDispersalHost(params, type = "no")
params |
a LandsepiParams Object. |
type |
a character string specifying the type of dispersal ("no" for no dispersal) |
as the size of the matrix depends on the number of polygons in the landscape,
the landscape must be defined before calling loadDispersalHost
.
a vectorised dispersal matrix.
setDispersalHost
## Not run:
simul_params <- createSimulParams()
simul_params <- setLandscape(simul_params, loadLandscape(1))
d <- loadDispersalHost(simul_params)
d
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.