layer_params: Generate soil layer table for define_hisafe

Description Usage Arguments Value See Also Examples

View source: R/define.R

Description

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

Usage

1
layer_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 soil layer table:

  • "thick"

  • "sand"

  • "clay"

  • "limeStone"

  • "organicMatter"

  • "partSizeSand"

  • "stone"

  • "stoneType"

  • "infiltrability"

Value

A list containing a Hi-sAFE soil layer table.

See Also

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

Examples

1
2
3
4
5
6
## Not run: 
hip <- define_hisafe(path = getwd(),
                     layers = layer_params(template     = "agroforestry",
                                           partSizeSand = 200))

## End(Not run)

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