opts_ts: 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"), ...)
Value
An object of class <constructive_options/constructive_options_ts>
Arguments
- constructor
String. Name of the function used to construct the object.
- ...
Additional options used by user defined constructors through the opts
object