Learn R Programming

soundcorrs (version 0.2.0)

list.transpose: Transpose a nested list.

Description

Taken from https://rdrr.io/cran/stackoverflow/src/R/tlist.R. I prefer to copy a short bit of code than to add a dependency.

Usage

list.transpose(x)

Arguments

x

[list] The list to be transposed.

Value

[list] The transposed list.

Examples

Run this code
# NOT RUN {
soundcorrs:::list.transpose (list (1:3, 4:6, 7:9))
# }

Run the code above in your browser using DataLab