Skip to contents

procureSlot() is a "getter" method that, depending on input arguments, retrieves either the value of data contained in a specified model module slot (default behaviour) or the value returned by applying the procure method to the slot.

procureSlot method applied to Ready4Module

Usage

procureSlot(x, slot_nm_1L_chr, ...)

# S4 method for Ready4Module
procureSlot(x, slot_nm_1L_chr, use_procure_mthd_1L_lgl = F, ...)

Arguments

x

An object of class Ready4Module

slot_nm_1L_chr

Slot name (a length one character vector)

...

Additional arguments

use_procure_mthd_1L_lgl

Use procure method (a length one logical vector)

Value

y (an object)

Examples

X <- Ready4Module()
procureSlot(X, "dissemination_1L_chr")
#> [1] NA