getProcess: Get process indices.

Description Usage Arguments Value Examples

View source: R/rstox_base.r

Description

Gets the indices of processes in the baseline model, where both process name and function name are accepted. The process WriteProcessData is ignored.

Usage

1
2
3
getProcess(projectName, proc = "all", modelType = "baseline")

matchModeltype(modelType)

Arguments

projectName

The name or full path of the project, a baseline object (as returned from getBaseline or runBaseline, og a project object (as returned from openProject).

proc

A string vector naming processes/function to find.

modelType

The type of model to run, currently one of "baseline" and "report" (the latter referring to "baseline report"). First element used.

Value

Index number of the process.

Examples

1
2
openProject("Test_Rstox")
getProcess("Test_Rstox", c("SuperIndAbundance", "StratumArea"))

Sea2Data/Rstox documentation built on April 18, 2018, 11:11 p.m.