create a data.frame containing cultivar parameters depending of his type

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".

Value

a dataframe of parameters associated with each host genotype (i.e. cultivars, lines) when cultivated in pure crops.

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).

See also

Examples

c1 <- loadCultivar("winterWheat", type = "growingHost")
c1
#>   cultivarName initial_density max_density growth_rate reproduction_rate
#> 1  winterWheat             0.1           2         0.1                 0
#>   yield_H yield_L yield_I yield_R planting_cost market_value
#> 1     2.5       0       0       0           225          200
c2 <- loadCultivar("forest", type = "nonCrop")
c2
#>   cultivarName initial_density max_density growth_rate reproduction_rate
#> 1       forest               0           2           0                 0
#>   yield_H yield_L yield_I yield_R planting_cost market_value
#> 1       0       0       0       0             0            0