xpn_optionsDef: setup XPN options line

Description Usage Arguments Value Author(s) Examples

View source: R/xpn_optionsDef.R

Description

A simple function that sets up the [options] block in an .xnp file. A DEFAULT setting is given, additional moduls can be added by providing a list with named elements. The name of the list element has to correspond to new line added.

Usage

1
xpn_optionsDef(x = NA, query.plant.model = "gecros")

Arguments

x

i) a list with named elements. The names of the elements will be used as the LHS and the vector element will be the RHS of the equal sign in extending [options]. ii) The default options can be updated by named x elements equalling the [options] LHS

query.plant.model

character to specify the plant model. Supported: GECROS, GECROS_h

Value

The options specification for the .xnp file

Author(s)

Tobias KD Weber , tobias.weber@uni-hohenheim.de

Examples

1
2
# Default settings can be seen by executing the following line
opts <- xpn_optionsDef(x = NA)

tkdweber/XN5setup documentation built on July 4, 2021, 7:34 a.m.