Learn R Programming

teal.modules.general (version 0.4.1)

select_decorators: Subset decorators based on the scope

Description

Subset decorators based on the scope

Usage

select_decorators(decorators, scope)

Value

Subsetted list with all decorators to include. It can be an empty list if none of the scope exists in decorators argument.

Arguments

decorators

(named list) of list decorators to subset.

scope

(character) a character vector of decorator names to include.