components: Extract components

View source: R/components.R

componentsR Documentation

Extract components

Description

components can be used to extract elements from an object.

Usage

components(object, ...)

Arguments

object

A data separable object.

...

Other arguments passed to methods

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.

Value

A dataset (tibble::tibble() or similar) containing components from the object.

Methods

\Sexpr[stage=render,results=rd]{generics:::methods_rd("components")}

r-lib/generics documentation built on Nov. 1, 2023, 12:32 a.m.