opts_dm: Constructive options class 'dm'

View source: R/s3-dm.R

opts_dmR Documentation

Constructive options class 'dm'

Description

These options will be used on objects of class 'dm'.

Usage

opts_dm(constructor = c("dm", "next", "list"), ...)

Arguments

constructor

String. Name of the function used to construct the object.

...

Additional options used by user defined constructors through the opts object

Details

Depending on constructor, we construct the object as follows:

  • "dm" (default): We use dm::dm() and other functions from dm to adjust the content.

  • "next" : Use the constructor for the next supported class. Call .class2() on the object to see in which order the methods will be tried.

  • "list" : Use list() and treat the class as a regular attribute.

Value

An object of class <constructive_options/constructive_options_dm>


constructive documentation built on April 3, 2025, 9:39 p.m.