Skip to contents

authorSlot() is a convenience method that applies the author method to a specified slot of a Ready4 object.

Apply the author method to the value stored in a specified slot of a Ready4 object.

Usage

authorSlot(x, slot_nm_1L_chr, ...)

# S4 method for class 'Ready4'
authorSlot(x, slot_nm_1L_chr, ...)

Arguments

x

An object that inherits from Ready4.

slot_nm_1L_chr

Name of the slot to which the author method should be applied (a character vector of length one).

...

Additional arguments passed to author.

Value

The object returned by applying author to the specified slot.

The object returned by applying author to the specified slot.

Details

Apply the author method to a specified slot of a Ready4 object.

The Ready4 class itself is slotless. This method is therefore intended primarily for classes that inherit from Ready4 and define one or more slots.