opts_stepfun: Constructive options for class 'stepfun'

View source: R/s3-stepfun.R

opts_stepfunR Documentation

Constructive options for class 'stepfun'

Description

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

Usage

opts_stepfun(constructor = c("stepfun", "next"), ...)

Arguments

constructor

String. Name of the function used to construct the object, see Details section.

...

Additional options used by user defined constructors through the opts object

Details

Depending on constructor, we construct the object as follows:

  • "stepfun" (default): We build the object using stepfun(), the arguments are retrieved from the function's enclosure. The "call" attribute is repaired if it differs from the constructed call.

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

Value

An object of class <constructive_options/constructive_options_stepfun>


constructive documentation built on Oct. 22, 2026, 5:07 p.m.