Learn R Programming

COMPASS (version 1.10.2)

transpose_list: Transpose a List

Description

Transpose a matrix-like list.

Usage

transpose_list(x)

Arguments

x
An R list.

Examples

Run this code
l <- list( 1:3, 4:6, 7:9 )
stopifnot( identical(
  transpose_list( transpose_list(l) ), l
) )

Run the code above in your browser using DataLab