mergeToList: mergeToList

Description Usage Arguments Value Author(s) Examples

View source: R/functions.R

Description

Merges k objects (lists or vectors), all being of length L, into a list object of length L, with each list cell being a list of the k elements in L-th position in their respective object.

Usage

1

Arguments

...

k objects to be merged. Their lengths are checked, and should be all equal.

Value

Merged list as specified above.

Author(s)

Pierrick Bruneau

Examples

1
temp <- mergeToList(c(1,2), list(3,4), c(5,6))

datautils documentation built on May 29, 2017, 11:12 p.m.