setPathogen {landsepi} | R Documentation |
Set the pathogen
Description
Updates a LandsepiParams object with pathogen parameters
Usage
setPathogen(params, patho_params)
Arguments
params |
a LandsepiParams Object. |
patho_params |
a list of pathogen aggressiveness parameters on a susceptible host for a pathogen genotype not adapted to resistance:
It can be generated manually, or, alternatively, via |
Details
a set of parameters representative of rust fungi, downy mildew or black sigatoka
can be loaded via loadPathogen
.
Value
a LandsepiParams object
See Also
Examples
## Not run:
simul_params <- createSimulParams()
simul_params <- setPathogen(simul_params, loadPathogen())
simul_params@Pathogen
## End(Not run)