View source: R/Methods-LandsepiParams.R
loadCultivar | R Documentation |
create a data.frame containing cultivar parameters depending of his type
loadCultivar(name, type = "wheat")
name |
a character string (without space) specifying the cultivar name. |
type |
the cultivar type, among: "wheat" (default), "grapevine", "banana", "pepper" or "nonCrop". |
"wheat" 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).
"grapevine" corresponds to parameters for grapevine (including host growth).
"banana" corresponds to parameters for banana (including host growth).
"pepper" 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.
"nonCrop" is not planted, does not cost anything and does not yield anything (e.g. forest, fallow).
a dataframe of parameters associated with each host genotype (i.e. cultivars, lines) when cultivated in pure crops.
setCultivars
c1 <- loadCultivar("winterWheat", type = "wheat")
c1
c2 <- loadCultivar("forest", type = "nonCrop")
c2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.