Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

partUnlist

Partial unlist of lists of lists


Description

partUnlist does partial unlist for treating list of lists : New (returned) list has one level less of hierarchy (Highest level list will be appended). In case of conflicting (non-null) listnames a prefix will be added. Behaviour different to unlist when unlisting list of matrixes.

Usage

partUnlist(lst)

Arguments

lst

list to be partailly unlisted

Value

list with partially reduced nested structure

See Also

Examples

partUnlist(list(list(a=11:12,b=21:24),list(c=101:101,d=201:204)))
li4 <- list(c=1:3,L2=matrix(1:4,ncol=2),li3=list(L1=11:12,L2=matrix(21:26,ncol=2)))
partUnlist(li4)
unlist(li4,rec=FALSE)

wrMisc

Analyze Experimental High-Throughput (Omics) Data

v1.5.4
GPL-3
Authors
Wolfgang Raffelsberger [aut, cre]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.