Skip to content

transpose of a list #1025

@arunsrinivasan

Description

@arunsrinivasan
x = list(1:5, 6:8)
x
# [[1]]
# [1] 1 2 3 4 5
# 
# [[2]]
# [1] 6 7 8
transpose(x) # fill = NA is default
# [[1]]
# [1] 1 6
# 
# [[2]]
# [1] 2 7
# 
# [[3]]
# [1] 3 8
# 
# [[4]]
# [1]  4 NA
# 
# [[5]]
# [1]  5 NA

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions