Transpose a matrix-like list.
transpose_list(x)
x
An R list.
l <- list( 1:3, 4:6, 7:9 ) stopifnot( identical( transpose_list( transpose_list(l) ), l ) )