Learn R Programming

teal (version 0.16.0)

modules_depth: Get module depth

Description

Depth starts at 0, so a single teal.module has depth 0. Nesting it increases overall depth by 1.

Usage

modules_depth(modules, depth = 0L)

Value

Depth level for given module.

Arguments

modules

(list or teal_modules or teal_module) Nested list of teal_modules or teal_module objects or a single teal_modules or teal_module object. These are the specific output modules which will be displayed in the teal application. See modules() and module() for more details.

depth

optional integer determining current depth level