variety_params: Generate variety table for define_hisafe

Description Usage Arguments Value See Also Examples

View source: R/define.R

Description

Generates a variety table suitable for passing to define_hisafe. The output of this function is always passed to define_hisafe via the varieties argument (see example below). Any passed parameters modify the table in the provided template.

Usage

1
variety_params(template, ...)

Arguments

template

A character string of the path to the directory containing the template set of Hi-sAFe simulation folders/files to use. See define_hisafe for more details.

...

Any parameters of Hi-sAFe variety table:

  • "ID"

  • "codevar"

  • "stlevamf"

  • "stamflax"

  • "stlevdrp"

  • "stflodrp"

  • "stdrpdes"

  • "pgrainmaxi"

  • "adens"

  • "croirac"

  • "durvieF"

  • "jvc"

  • "sensiphot"

  • "stlaxsen"

  • "stsenlan"

  • "nbgrmax"

  • "stdrpmat"

  • "afruitpot"

  • "dureefruit"

Value

A list containing a Hi-sAFE variety table.

See Also

Other hisafe definition functions: define_hisafe_file(), define_hisafe(), layer_init_params(), layer_params(), root_init_params(), tree_init_params()

Examples

1
2
3
4
5
6
## Not run: 
hip <- define_hisafe(path = getwd(),
                     varieties = variety_params(template = "monocrop",
                                                croirac  = 0.1))

## End(Not run)

kevinwolz/hisafer documentation built on Oct. 19, 2020, 4:43 p.m.