tll-deprecated
From kimisc v0.4
by Kirill Müller
Transposes a list of lists
The argument is assumed to be a list of \(n\) (named) lists with length \(m\) each. It is converted to a (named) list of \(m\) elements with length \(n\) each.
Usage
tll(l)
Arguments
- l
List of lists, possibly named.
Value
A list of lists corresponding to a transposition of the argument.
See Also
Other deprecated functions: coalesce.na-deprecated
,
df_to_list-deprecated
,
hms.to.seconds-deprecated
,
kimisc-deprecated
,
list_to_df-deprecated
,
nc-deprecated
,
nlist-deprecated
,
ofactor-deprecated
,
sample.rows-deprecated
,
seconds.to.hms-deprecated
,
thisfile-deprecated
,
vswitch-deprecated
Examples
# NOT RUN {
tll(list(list(1, 2), list(3, 4)))
tll(list(list(a=1, b=2), list(a=3, b=4)))
tll(list(x=list(a=1, b=2), y=list(a=3, b=4)))
# }
Community examples
Looks like there are no examples yet.