opts_ts: Constructive options for time-series objets

View source: R/s3-ts.R

opts_tsR Documentation

Constructive options for time-series objets

Description

Depending on constructor, we construct the object as follows:

  • "ts" : We use ts()

  • "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 "atomic"

  • "atomic" : We define as an atomic vector and repair attributes

Usage

opts_ts(constructor = c("ts", "next", "atomic"), ...)

Arguments

constructor

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

...

Additional options used by user defined constructors through the opts object

Value

An object of class <constructive_options/constructive_options_ts>


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