dot-transformListLength-set: Transform an aspect with a list as column

Description Usage Arguments Value Note Examples

Description

Transforms an aspect with a column, that is a list to force a custom format in summary generation. Only show the number of elements in the list elements.

Usage

1
.transformListLength(aspect) <- value

Arguments

aspect

an aspect (data.frame)

value

character; property

Value

the aspect (data.frame)

Note

Internal function only for convenience

Examples

1
2
3
4
5
6
7
8
df = data.frame(bla=c("a","b","c"))
df$blubb=list(c("a","b","c"),
              c(1,2),
              c(TRUE,FALSE,FALSE,TRUE,TRUE))

RCX:::.transformListLength(df) = "blubb"

summary(df)

frankkramer-lab/RCX documentation built on July 14, 2021, 6:33 p.m.