assignDefault: S4 Default Assignment

View source: R/S4-default.R

assignDefaultR Documentation

S4 Default Assignment

Description

Extracts the default list from the respective slot and assigns the content of the list's slot to the environment of the calling function if the argument input was NULL.

Usage

assignDefault(object, default_slot = "default")

Arguments

object

The S4 object that has a slot @default which is a named list.

default_slot

Character value. The name of the slot that contains the default list.


kueckelj/confuns documentation built on July 4, 2024, 4:53 p.m.