Learn R Programming

plotrix (version 2.5-2)

listDepth: Find the maximum depth of a list.

Description

Descend a list and find the maximum number of levels.

Usage

listDepth(x)

Arguments

x
A list.

Value

  • The maximum number of levels in the list.

Details

A possibly nested list of lists is descended to determine the maximum number of levels. Currently used to set up the dimensions of a dendrite plot.

See Also

plot.dendrite