module_management: Extract/Remove module(s) of specific class

extract_moduleR Documentation

Extract/Remove module(s) of specific class

Description

Given a teal_module or a teal_modules, return the elements of the structure according to class.

Usage

extract_module(modules, class)

drop_module(modules, class)

Arguments

modules

(teal_modules)

class

The class name of teal_module to be extracted or dropped.

Value

  • For extract_module, a teal_module of class class or teal_modules containing modules of class class.

  • For drop_module, the opposite, which is all teal_modules of class other than class.

teal_modules


teal documentation built on May 29, 2024, 10:11 a.m.