root_init_params: Generate root initialization table for define_hisafe

Description Usage Arguments Value See Also Examples

View source: R/define.R

Description

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

Usage

1
root_init_params(template, reps = 1, ...)

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 root initialization table:

  • "shape"

  • "repartition"

  • "paramShape1"

  • "paramShape2"

  • "paramShape3"

rep

Number of times to repeats the rows of the defined table.

Value

A list containing a Hi-sAFE root initialization table.

See Also

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

Examples

1
2
3
4
5
6
## Not run: 
hip <- define_hisafe(path = getwd(), template = "agroforestry",
                     root.initialization = root_init_params(template    = "agroforestry",
                                                            paramShape1 = 0.5))

## End(Not run)

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