xpn_modelActivate: Activate/Deactive individual cells from outside the XN5 gui

Description Usage Arguments Value Author(s) Examples

View source: R/xpn_modelActivate.R

Description

A simple function that enables to rapiud selection/deselection of simulated cells in the xpn.

Usage

1
2
3
4
5
6
xpn_modelActivate(
  xpn_file_path,
  xpi_activate = "all",
  flip = FALSE,
  xpn_file_path_out = NULL
)

Arguments

xpn_file_path

.xpn file in question, full path names ahas to be given.

xpi_activate

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

flip

character to specify the mineralisation model. Supported: DAISY and LEACHN.

xpn_file_path_out

optional chaarcter to write a new xpn, default NULL, means overwriting of .xpn specified in xpn_file_path. Make sure to provide a full path, otherwise the new xpn will be written into the current working directory.

Value

nothing. The function overwrites the xpn if xpn_file_path_out is not specified-.

Author(s)

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

Examples

1
# xpn_modelActivate(xpn_file_path, xpi_activate = c("0_0_0_0.xpi", "0_1_0_0.xpi"), flip = TRUE)

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