keepOnlyAtomicCols | R Documentation |
Keep only atomic columns
keepOnlyAtomicCols(object, ...)
## S4 method for signature 'DFrame'
keepOnlyAtomicCols(object)
## S4 method for signature 'data.frame'
keepOnlyAtomicCols(object)
object |
Object. |
... |
Additional arguments. |
Modified object, containing only atomic columns.
Updated 2023-09-08.
## DFrame ====
object <- S4Vectors::DataFrame(
"a" = I(list(
c(1L, 2L),
c(3L, 4L),
c(5L, 6L)
)),
"b" = c(TRUE, TRUE, FALSE),
"c" = c("a", "b", "c"),
row.names = c("x", "y", "z")
)
print(object)
object <- keepOnlyAtomicCols(object)
print(object)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.