components can be used to extract elements from an object.
Usage
components(object, ...)
Value
A dataset (tibble::tibble() or similar) containing components from
the object.
Arguments
object
A data separable object.
...
Other arguments passed to methods
Methods
generics:::methods_rd("components")
Details
For example, decomposition methods and some modelling techniques can be used
to decompose a dataset into components of interest. This function is used
to extract these components in a tidy data format.