findModuleName: Identify module names up to a given recursive level

.findModuleNameR Documentation

Identify module names up to a given recursive level

Description

With children, parents, grandparents, etc.; there can be several "layers" of recursion. Some functions need to evaluate the outer level for a value, if found, they don't need to proceed further. If not found, increment one more level of recursion, etc.

Usage

.findModuleName(modList, recursive = 0)

Arguments

modList

(Nested) Named list of module names

recursive

Numeric. The depth of recursion, where 0 is only top level, 1 is 1 level in etc.

Value

Character vector of modules names


PredictiveEcology/SpaDES.core documentation built on April 17, 2024, 8:27 a.m.