flattenObject: Flatten R object

View source: R/searchObjectForValue.R

flattenObjectR Documentation

Flatten R object

Description

Flatten R object

Usage

flattenObject(obj, patience = 10L)

Arguments

obj

['R object'] R object which should be flatten.

patience

['integer(1L)'] How many iterations needs the length of the old and new flatten object to be equal to stop the algorithm?

Value

['list'] containing the flatten object.

Examples

obj = lm(Petal.Length ~ ., data = iris)
obj_flatten = flattenObject(obj)

difuture-lmu/rmmodeldata documentation built on July 14, 2022, 4:49 a.m.