new_tune
: Creates a new object by wrapping it in a scalar list with the specified attributes and class.tune_data
: Retrieves the original input data.
Usage
new_tune(x, ..., class = character())
tune_data(x)
Arguments
- x
An R object.
- ...
Additional attributes passed to
structure()
.- class
A character vector specifying the class name to be added.