loadCultivar {landsepi} | R Documentation |
Load a cultivar
Description
create a data.frame containing cultivar parameters depending of his type
Usage
loadCultivar(name, type = "growingHost")
Arguments
name |
a character string (without space) specifying the cultivar name. |
type |
the cultivar type, among: "growingHost" (default), "nongrowingHost", "grapevine", "banana" or "nonCrop". |
Details
"growingHost" is adapted to situations where the infection unit is a piece of leaf (e.g. where a fungal lesion can develop); the number of available infection units increasing during the season due to plant growth (as typified by cereal crops).
"nongrowingHost" corresponds to situations where the infection unit is the whole plant (e.g. for viral systemic infection); thus the number of infection units is constant.
"grapevine" corresponds to parameters for grapevine (including host growth).
"banana" corresponds to parameters for banana (including host growth).
"nonCrop" is not planted, does not cost anything and does not yield anything (e.g. forest, fallow).
Value
a dataframe of parameters associated with each host genotype (i.e. cultivars, lines) when cultivated in pure crops.
See Also
Examples
c1 <- loadCultivar("winterWheat", type = "growingHost")
c1
c2 <- loadCultivar("forest", type = "nonCrop")
c2