Learn R Programming

landsepi (version 1.5.1)

loadCultivar: Load a cultivar

Description

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

Usage

loadCultivar(name, type = "wheat")

Value

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

Arguments

name

a character string (without space) specifying the cultivar name.

type

the cultivar type, among: "wheat" (default), "grapevine", "banana", "pepper" or "nonCrop".

Details

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

See Also

setCultivars

Examples

Run this code
c1 <- loadCultivar("winterWheat", type = "wheat")
c1
c2 <- loadCultivar("forest", type = "nonCrop")
c2

Run the code above in your browser using DataLab