ListDepth: List Depth

View source: R/seqNdisplayR.R

ListDepthR Documentation

List Depth

Description

Internal function: Max number of nested levels in a nested list of lists

Usage

ListDepth(query_list)

Arguments

query_list

Author(s)

SLA

Examples

ListDepth(c('a','b','c'))
l = list('x'=c('a1','b1','c1'), 'y'=c('a2','b2','c2'))
ListDepth(l)
l = list('x0'=list('x1'=c('a1','b1','c1'), 'x2'=c('a2','b2','c2')), 'y'=c('a2','b2','c2'))
ListDepth(l)


THJlab/seqNdisplayR documentation built on Aug. 31, 2024, 7:56 p.m.