atomize: Atomize

Description Usage Arguments Value See Also Examples

Description

Ensure all columns in the object are atomic.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
atomize(object, ...)

## S4 method for signature 'data.frame'
atomize(object)

## S4 method for signature 'DataFrame'
atomize(object)

## S4 method for signature 'Ranges'
atomize(object)

Arguments

object

Object.

...

Additional arguments.

Value

Modified object. Non-atomic columns (e.g. list or complex S4 classes) will be dropped.

See Also

Examples

1
2
3
df <- S4Vectors::DataFrame(a = "a", b = list(a = seq_len(3)))
lapply(df, is.atomic)
x <- atomize(df)

steinbaugh/transformer documentation built on Jan. 9, 2020, 12:53 p.m.